The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

WindowTemplateController.CustomizeWindowCaption Event

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

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public event EventHandler<CustomizeWindowCaptionEventArgs> CustomizeWindowCaption
Public Event CustomizeWindowCaption As EventHandler(Of CustomizeWindowCaptionEventArgs)
public event EventHandler<CustomizeWindowCaptionEventArgs> CustomizeWindowCaption
Public Event CustomizeWindowCaption As EventHandler(Of CustomizeWindowCaptionEventArgs)
public event EventHandler<CustomizeWindowCaptionEventArgs> CustomizeWindowCaption
Public Event CustomizeWindowCaption As EventHandler(Of CustomizeWindowCaptionEventArgs)

Event Data

The CustomizeWindowCaption event handler receives an argument of the CustomizeWindowCaptionEventArgs type. 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 applications.

Note

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

See Also