Back to Devexpress

View.Control Property

expressappframework-devexpress-dot-expressapp-dot-view-f54f5814.md

latest1.6 KB
Original Source

View.Control Property

Returns the current View‘s control.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public virtual object Control { get; }
vb
Public Overridable ReadOnly Property Control As Object

Property Value

TypeDescription
Object

An object that represents the current View’s control.

|

Remarks

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.

See Also

View Class

View Members

DevExpress.ExpressApp Namespace