Back to Devexpress

ColumnChooserControlBase.Owner Property

wpf-devexpress-dot-xpf-dot-core-dot-columnchoosercontrolbase.md

latest3.1 KB
Original Source

ColumnChooserControlBase.Owner Property

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

Declaration

csharp
[Browsable(false)]
public ILogicalOwner Owner { get; set; }
vb
<Browsable(False)>
Public Property Owner As ILogicalOwner

Property Value

TypeDescription
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:

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

xml
Grid.Column="1"
Owner="{Binding ElementName=tableView}"
FlowDirection="{Binding Owner.FlowDirection, RelativeSource={RelativeSource Self}}"/>

See Also

ColumnChooserControlBase Class

ColumnChooserControlBase Members

DevExpress.Xpf.Core Namespace