Skip to main content
.NET 6.0+

View.Caption Property

Specifies a View‘s caption.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public virtual string Caption { get; set; }

Property Value

Type Description
String

A string value representing the current View’s caption.

Remarks

A View’s caption is included in the caption of the Window which contains this View.

By default, this property is set to the value of the Caption attribute from the Application Model node specified by the View.Model property.

When setting a value to this property, the View.CaptionChanged event is raised.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Caption property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also