Class ColumnChooserItem
Represents a control that specifies the item for the column chooser window.
Inheritance
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class ColumnChooserItem : Control
Constructors
ColumnChooserItem(GridColumn)
Initializes a new instance of ColumnChooserItem class.
Declaration
public ColumnChooserItem(GridColumn column)
Parameters
Type | Name | Description |
---|---|---|
GridColumn | column | The column. |
Fields
ColumnNameProperty
Identifies the Syncfusion.UI.Xaml.Grid.ColumnChooserItem.ColumnName dependency property.
Declaration
public static readonly DependencyProperty ColumnNameProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.ColumnChooserItem.ColumnName dependency property.
Properties
Column
Gets or sets the column for the column chooser item.
Declaration
public GridColumn Column { get; set; }
Property Value
Type | Description |
---|---|
GridColumn | The GridColumn for the column chooser item. |
ColumnName
Gets or sets name of the column for the ColumnChooserItem.
Declaration
public string ColumnName { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string that specifies the name of column. The default value is |
Controller
Gets or sets an instance of the GridColumnDragDropController which controls the column drag-and-drop operation in SfDataGrid.
Declaration
public GridColumnDragDropController Controller { get; set; }
Property Value
Type | Description |
---|---|
GridColumnDragDropController | An instance of the GridColumnDragDropController class. |
Remarks
GridColumnDragDropController class provides various properties and virtual methods to customize its operations.
Methods
OnMouseLeave(MouseEventArgs)
Raises the
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | Contains the event data. |
OnMouseMove(MouseEventArgs)
Raises the
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | Contains the event data. |