ColumnChooserControlBase.Owner Property
Gets or sets an owner of the ColumnChooserControl. This is a dependency property.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v22.2.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Property Value
Type | Description |
---|---|
DevExpress.Xpf.Core.ILogicalOwner | An object that implements the DevExpress.Xpf.Core.ILogicalOwner interface and defines the owner control of the ColumnChooserControl. |
Remarks
Use the Owner property to specify which data-aware control (like GridControl or PivotGridControl) will be customized by the ColumnChooserControl.
To create a Column Chooser for a GridControl, do the following:
- create a ColumnChooserControl instance;
- assign the GridControl.View property value to the Owner property.
To create a Customization Form for a PivotGridControl, follow these steps:
- create a PivotFieldListControl (for a simple Customization Form) or a PivotExcelFieldListControl (for an Excel-style Customization Form) instance;
- assign the PivotGridControl instance to the Owner property.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Owner 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.