Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

WindowTemplateController.CustomizeWindowCaption Event

Occurs before the Window caption is updated. Allows you to change the Window caption.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public event EventHandler<CustomizeWindowCaptionEventArgs> CustomizeWindowCaption

#Event Data

The CustomizeWindowCaption event's data class is CustomizeWindowCaptionEventArgs. The following properties provide information specific to this event:

Property Description
WindowCaption Represents a Window caption.

#Remarks

The WindowTemplateController event is raised before setting the Window caption text. Handle this event in a custom Window Controller, to modify a Window caption. Refer to the How to: Customize a Window Caption topic, for details. This event cannot be used to change popup window’s captions in ASP.NET Web Forms applications.

Note

You can use the WindowTemplateController.UpdateWindowCaption method to refresh the Window caption.

See Also