Back to Devexpress

WinPropertyEditor.Control Property

expressappframework-devexpress-dot-expressapp-dot-win-dot-editors-dot-winpropertyeditor.md

latest4.2 KB
Original Source

WinPropertyEditor.Control Property

Provides access to the control that represents the current Property Editor in a UI.

Namespace : DevExpress.ExpressApp.Win.Editors

Assembly : DevExpress.ExpressApp.Win.v25.2.dll

NuGet Packages : DevExpress.ExpressApp.Win, DevExpress.ExpressApp.Win.Design

Declaration

csharp
public Control Control { get; }
vb
Public ReadOnly Property Control As Control

Property Value

TypeDescription
Control

A Control object used to display the current Property Editor in a UI.

|

Remarks

To see an example on how to use this property, refer to the following topic: Customize a Built-in Property Editor (WinForms).

The following code snippets (auto-collected from DevExpress Examples) contain references to the Control 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.

XAF-search-objects-using-complex-criterion/CS/Dennis.Search.Win/SearchObjectPropertyEditor.cs#L98

csharp
protected override object CreateControlCore() { return new SearchObjectControl(this); }
public new SearchObjectControl Control { get { return (SearchObjectControl)base.Control; } }
public override bool IsCaptionVisible { get { return false; } }

xaf-how-to-display-a-collection-property-as-a-checked-list-box/CS/DXExample.Module.Win/WinCheckedListBoxPropertyEditor.cs#L55

csharp
get {
    return (CheckedListBoxControl)base.Control;
}

XAF-search-objects-using-complex-criterion/VB/Dennis.Search.Win/SearchObjectPropertyEditor.vb#L159

vb
Get
    Return CType(MyBase.Control, SearchObjectControl)
End Get

xaf-how-to-display-a-collection-property-as-a-checked-list-box/VB/DXExample.Module.Win/WinCheckedListBoxPropertyEditor.vb#L57

vb
Get
    Return CType(MyBase.Control, CheckedListBoxControl)
End Get

See Also

ControlBindingProperty

CreateControl()

WinPropertyEditor Class

WinPropertyEditor Members

DevExpress.ExpressApp.Win.Editors Namespace