Class ColumnChooser
Inheritance
System.Object
ColumnChooser
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class ColumnChooser : Control, IColumnChooser
Constructors
ColumnChooser(SfDataGrid)
Declaration
public ColumnChooser(SfDataGrid dataGrid)
Parameters
Fields
TitleBarBackgroundProperty
Declaration
public static readonly DependencyProperty TitleBarBackgroundProperty
Field Value
| Type |
| Windows.UI.Xaml.DependencyProperty |
TitleBarForegroundProperty
Declaration
public static readonly DependencyProperty TitleBarForegroundProperty
Field Value
| Type |
| Windows.UI.Xaml.DependencyProperty |
TitleProperty
Declaration
public static readonly DependencyProperty TitleProperty
Field Value
| Type |
| Windows.UI.Xaml.DependencyProperty |
TitleTextAlignmentProperty
Declaration
public static readonly DependencyProperty TitleTextAlignmentProperty
Field Value
| Type |
| Windows.UI.Xaml.DependencyProperty |
WaterMarkTextProperty
Declaration
public static readonly DependencyProperty WaterMarkTextProperty
Field Value
| Type |
| Windows.UI.Xaml.DependencyProperty |
WaterMarkTextVisibilityProperty
Declaration
public static readonly DependencyProperty WaterMarkTextVisibilityProperty
Field Value
| Type |
| Windows.UI.Xaml.DependencyProperty |
Properties
DataGrid
Gets DataGrid for ColumnChooser.
Declaration
protected SfDataGrid DataGrid { get; }
Property Value
Popup
Gets or sets ColumnChooser Popup window.
Declaration
public Popup Popup { get; set; }
Property Value
| Type |
| Windows.UI.Xaml.Controls.Primitives.Popup |
Title
Gets or sets Title for ColumnChooser Popup Window.
Declaration
public string Title { get; set; }
Property Value
TitleBarBackground
Gets or sets TitleBar background.
Declaration
public SolidColorBrush TitleBarBackground { get; set; }
Property Value
| Type |
| Windows.UI.Xaml.Media.SolidColorBrush |
TitleBarForeground
Gets or sets TitleBar Foreground.
Declaration
public SolidColorBrush TitleBarForeground { get; set; }
Property Value
| Type |
| Windows.UI.Xaml.Media.SolidColorBrush |
TitleTextAlignment
Gets or sets Text Alignment for the Title.
Declaration
public TextAlignment TitleTextAlignment { get; set; }
Property Value
| Type |
| Windows.UI.Xaml.TextAlignment |
WaterMarkText
Gets or sets WaterMarkText for Empty Column Chooser.
Declaration
public string WaterMarkText { get; set; }
Property Value
WaterMarkTextVisibility
Gets or sets Visibility of WaterMarkText for Empty Column Chooser.
Declaration
public Visibility WaterMarkTextVisibility { get; set; }
Property Value
| Type |
| Windows.UI.Xaml.Visibility |
Methods
AddChild(GridColumn)
Adds the Child for the column chooser whenever the column gets hide
Declaration
public virtual void AddChild(GridColumn column)
Parameters
GetControlRect()
Returns the Rect of the ColumnChooserControl
Declaration
public virtual Rect GetControlRect()
Returns
| Type |
| Windows.Foundation.Rect |
OnApplyTemplate()
Declaration
protected override void OnApplyTemplate()
Declaration
protected override void OnPointerMoved(PointerRoutedEventArgs e)
Parameters
| Type |
Name |
Description |
| Windows.UI.Xaml.Input.PointerRoutedEventArgs |
e |
|
Declaration
protected override void OnPointerPressed(PointerRoutedEventArgs e)
Parameters
| Type |
Name |
Description |
| Windows.UI.Xaml.Input.PointerRoutedEventArgs |
e |
|
Declaration
protected override void OnPointerReleased(PointerRoutedEventArgs e)
Parameters
| Type |
Name |
Description |
| Windows.UI.Xaml.Input.PointerRoutedEventArgs |
e |
|
RemoveChild(GridColumn)
Remove the Child for the column chooser whenever the column gets Unhidden
Declaration
public virtual void RemoveChild(GridColumn column)
Parameters
ShowColumnChooser()
Shows the ColumnChooser Window
Declaration
public void ShowColumnChooser()
Implements
Extension Methods