ClassDataGridComboBoxColumn
A special DataGridTextColumn implementation which cell value editor is a control.
Definition
Namespace:Telerik.UI.Xaml.Controls.Grid
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class DataGridComboBoxColumn : DataGridTextColumn, IExportableColumn
Inheritance: objectRadDependencyObjectDataGridColumnDataGridTypedColumnDataGridTextColumnDataGridComboBoxColumn
Implements:
Inherited Members
Constructors
DataGridComboBoxColumn()
Declaration
public DataGridComboBoxColumn()
Fields
DisplayMemberPathProperty
Identifies the DisplayMemberPath dependency property.
Declaration
public static readonly DependencyProperty DisplayMemberPathProperty
Field Value
DependencyProperty
ItemsSourcePathProperty
Identifies the ItemsSourcePath dependency property.
Declaration
public static readonly DependencyProperty ItemsSourcePathProperty
Field Value
DependencyProperty
ItemsSourceProperty
Identifies the ItemsSource dependency property.
Declaration
public static readonly DependencyProperty ItemsSourceProperty
Field Value
DependencyProperty
SelectedValuePathProperty
Identifies the SelectedValuePath dependency property.
Declaration
public static readonly DependencyProperty SelectedValuePathProperty
Field Value
DependencyProperty
Properties
DisplayMemberPath
Gets or sets the display member path for the combobox editor.
ItemsSource
Gets or sets the items source for the editor.
ItemsSourcePath
Gets or sets the path of the property that will be used as an items source for the editor.
SelectedValuePath
Gets or sets the path of the property that is set as column value when an item is selected in the combobox editor.
Methods
ClearEditorContentVisual(FrameworkElement)
Clears all bindings and content set to the ComboBox visualized when entering edit mode.
Declaration
public override void ClearEditorContentVisual(FrameworkElement editorContent)
Parameters
editorContent
FrameworkElement
The editor itself.
Overrides
CreateEditorContentVisual()
Creates an instance of a ComboBox used by the column when entering edit mode.
Declaration
public override FrameworkElement CreateEditorContentVisual()
Returns
FrameworkElement
An instance of the editor.
Overrides
CreateFilterControl()
Creates the DataGridTextFilterControl instance that allows filtering operation to be applied upon this column.
Declaration
protected override DataGridFilterControlBase CreateFilterControl()
Returns
Overrides
CreateGroupDescriptor()
Creates the GroupDescriptorBase instance that is used to group by this column through the user interface.
Declaration
protected override GroupDescriptorBase CreateGroupDescriptor()
Returns
Overrides
CreateSortDescriptor()
Creates the SortDescriptorBase instance that is used to sort by this column through the user interface.
Declaration
protected override SortDescriptorBase CreateSortDescriptor()
Returns
Overrides
GetEditorType(object)
Gets the type of the editor for the DataGridComboBoxColumn that is visualized when entering in edit mode.
PrepareEditorContentVisual(FrameworkElement, Binding)
Prepares all bindings and content set to the ComboBox visualized when entering edit mode.
Declaration
public override void PrepareEditorContentVisual(FrameworkElement editorContent, Binding binding)
Parameters
editorContent
FrameworkElement
The editor itself.
binding
Binding
The binding set to the editor of the cell.
Overrides