wpf-devexpress-dot-xpf-dot-core-dot-columnchoosercontrolbase.md
Gets or sets an owner of the ColumnChooserControl. This is a dependency property.
Namespace : DevExpress.Xpf.Core
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
[Browsable(false)]
public ILogicalOwner Owner { get; set; }
<Browsable(False)>
Public Property Owner As ILogicalOwner
| Type | Description |
|---|---|
| DevExpress.Xpf.Core.ILogicalOwner |
An object that implements the DevExpress.Xpf.Core.ILogicalOwner interface and defines the owner control of the ColumnChooserControl.
|
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:
To create a Customization Form for a PivotGridControl , follow these steps:
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.
wpf-data-grid-customize-column-headers-based-on-location/CS/CustomColumnHeader/MainWindow.xaml#L50
Grid.Column="1"
Owner="{Binding ElementName=tableView}"
FlowDirection="{Binding Owner.FlowDirection, RelativeSource={RelativeSource Self}}"/>
See Also
ColumnChooserControlBase Class