BaseDocument.ControlType Property
Gets or sets the type of a control passed to the document as content.
Namespace: DevExpress.XtraBars.Docking2010.Views
Assembly: DevExpress.XtraBars.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
Type | Default | Description |
---|---|---|
Type | null | The type of a control passed to the document as content. |
Remarks
The ControlType
property allows you to assign a control as document content:
- Click the Assign Control button in the form designer.
- In the invoked window, open the drop-down
ControlType
property list. The drop-down displays UserControl / Form class descendants available in the solution. - Select a control from the list.
The assigned control type is used to initialize the control during Deferred Loading.
Usage Notes
- The
ControlType
property accepts Control class descendants with parameterless constructors. - The BaseView.QueryControl event has a higher priority than the
ControlType
property. - The
ControlType
property drop-down displays Form class descendants in MDI mode only.
See Also