ClassDataGridTextColumn
Represents a DataGridTypedColumn that converts the content of each associated cell to a string object.
Definition
Namespace:Telerik.UI.Xaml.Controls.Grid
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class DataGridTextColumn : DataGridTypedColumn, IExportableColumn
Inheritance: objectRadDependencyObjectDataGridColumnDataGridTypedColumnDataGridTextColumn
Derived Classes:
Implements:
Inherited Members
Constructors
DataGridTextColumn()
Declaration
public DataGridTextColumn()
Fields
CellContentFormatProperty
Identifies the CellContentFormat dependency property.
Declaration
public static readonly DependencyProperty CellContentFormatProperty
Field Value
DependencyProperty
ShowDistinctValuesFilterProperty
Identifies the ShowDistinctValuesFilter dependency property.
Declaration
public static readonly DependencyProperty ShowDistinctValuesFilterProperty
Field Value
DependencyProperty
Properties
CellContentFormat
Gets or sets the custom format for each cell value. The String.Format routine is used and the format passed should be in the form required by this method.
ShowDistinctValuesFilter
Gets or sets whether the distinct values list is available in the filter flyout.
Declaration
public bool ShowDistinctValuesFilter { get; set; }
Property Value
Methods
ClearEditorContentVisual(FrameworkElement)
Clears all bindings and content set to the TextBox visualized when entering edit mode.
Declaration
public override void ClearEditorContentVisual(FrameworkElement editorContent)
Parameters
editorContent
FrameworkElement
The editor itself.
Overrides
CreateContainer(object)
Creates an instance of a TextBlock visualized when the column is not edited.
CreateEditorContentVisual()
Creates an instance of a TextBox 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
GetCellContent(object)
Gets the content of the cell.
GetContainerType(object)
Gets the type of the control visualized when the text column is not currently edited.
GetEditorType(object)
Gets the type of the editor for the DataGridTextColumn that is visualized when entering in edit mode.
PrepareCell(object, object, object)
Prepares the UIElement inside which the cell is visualized.
PrepareEditorContentVisual(FrameworkElement, Binding)
Prepares all bindings and content set to the TextBox 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