Skip to main content
.NET Framework 4.5.2+

Window.IsMain Property

Indicates whether a Window is main.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v22.1.dll

Declaration

public bool IsMain { get; }

Property Value

Type Description
Boolean

true if the current Window is main; otherwise, false.

Remarks

When you start an application, the first Window displayed is a main Window. It represents a central Window that provides common application functionalities. Visually, it differs from other windows, in that it has a navigation control. This navigation control is an Action Container for the ViewNavigation Action. It lists items corresponding to declared business object types. End-users can use these items to open List or Detail Views that allow them to browse and edit the corresponding business objects.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsMain 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