menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ColumnChooser - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ColumnChooser

    Inheritance
    System.Object
    ColumnChooser
    Implements
    IColumnChooser
    Namespace: Syncfusion.UI.Xaml.Grid
    Assembly: Syncfusion.SfGrid.UWP.dll
    Syntax
    public class ColumnChooser : Control, IColumnChooser

    Constructors

    ColumnChooser(SfDataGrid)

    Declaration
    public ColumnChooser(SfDataGrid dataGrid)
    Parameters
    Type Name Description
    SfDataGrid dataGrid

    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
    Type
    SfDataGrid

    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
    Type
    System.String

    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
    Type
    System.String

    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
    Type Name Description
    GridColumn column

    GetControlRect()

    Returns the Rect of the ColumnChooserControl

    Declaration
    public virtual Rect GetControlRect()
    Returns
    Type
    Windows.Foundation.Rect

    OnApplyTemplate()

    Declaration
    protected override void OnApplyTemplate()

    OnPointerMoved(PointerRoutedEventArgs)

    Declaration
    protected override void OnPointerMoved(PointerRoutedEventArgs e)
    Parameters
    Type Name Description
    Windows.UI.Xaml.Input.PointerRoutedEventArgs e

    OnPointerPressed(PointerRoutedEventArgs)

    Declaration
    protected override void OnPointerPressed(PointerRoutedEventArgs e)
    Parameters
    Type Name Description
    Windows.UI.Xaml.Input.PointerRoutedEventArgs e

    OnPointerReleased(PointerRoutedEventArgs)

    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
    Type Name Description
    GridColumn column

    ShowColumnChooser()

    Shows the ColumnChooser Window

    Declaration
    public void ShowColumnChooser()

    Implements

    IColumnChooser

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved