Skip to main content
.NET Standard 2.0+

View.Control Property

Returns the current View‘s control.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v22.1.dll


public virtual object Control { get; }

Property Value

Type Description

An object that represents the current View’s control.


Since the controls which represent a View are arranged via the Layout Control on a Template, the value returned by this property is the Layout Manager’s Container. You may need to access this container when implementing a custom Template. Add the View’s control to the Template’s View site. To learn how to implement custom Templates, refer to the How to: Create a Custom WinForms Ribbon Template.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Control property.


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