Class
DataGridDateTimeColumn

An extended DataGridTextColumn that presents data of type DateTime. The column will create a DataGridDateFilterControl upon triggering the filtering UI through user input.

Definition

Namespace:Telerik.UI.Xaml.Controls.Grid

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class DataGridDateTimeColumn : DataGridTextColumn, IExportableColumn

Inheritance: objectRadDependencyObjectDataGridColumnDataGridTypedColumnDataGridTextColumnDataGridDateTimeColumn

Implements: IExportableColumn

Inherited Members DataGridTextColumn.CellContentFormatPropertyDataGridTextColumn.ShowDistinctValuesFilterPropertyDataGridTextColumn.GetContainerType(object)DataGridTextColumn.CreateContainer(object)DataGridTextColumn.PrepareCell(object, object, object)DataGridTextColumn.GetCellContent(object)DataGridTextColumn.CellContentFormatDataGridTextColumn.ShowDistinctValuesFilterDataGridTypedColumn.PropertyNamePropertyDataGridTypedColumn.CellContentStylePropertyDataGridTypedColumn.CellContentStyleSelectorPropertyDataGridTypedColumn.CellEditorStylePropertyDataGridTypedColumn.GetValueForInstance(object)DataGridTypedColumn.CreateGroupDescriptor()DataGridTypedColumn.CreateSortDescriptor()DataGridTypedColumn.PropertyNameDataGridTypedColumn.CellContentStyleDataGridTypedColumn.CellContentStyleSelectorDataGridTypedColumn.CellEditorStyleDataGridColumn.IsCellFlyoutEnabledPropertyDataGridColumn.CellDecorationStylePropertyDataGridColumn.CellDecorationStyleSelectorPropertyDataGridColumn.WidthPropertyDataGridColumn.SizeModePropertyDataGridColumn.HeaderPropertyDataGridColumn.SortDirectionPropertyDataGridColumn.HeaderStylePropertyDataGridColumn.CanUserGroupPropertyDataGridColumn.CanUserFilterPropertyDataGridColumn.CanUserSortPropertyDataGridColumn.CanUserResizePropertyDataGridColumn.CanUserReorderPropertyDataGridColumn.CanUserEditPropertyDataGridColumn.NamePropertyDataGridColumn.DataOperationsFlyoutTemplatePropertyDataGridColumn.IsVisiblePropertyDataGridColumn.AggregatesTemplatePropertyDataGridColumn.ClearCell(object)DataGridColumn.CreateDecorationContainer(object)DataGridColumn.UpdateFilterVisualState(bool)DataGridColumn.IsCellFlyoutEnabledDataGridColumn.CellDecorationStyleDataGridColumn.CellDecorationStyleSelectorDataGridColumn.AggregatesTemplateDataGridColumn.NameDataGridColumn.CanUserEditDataGridColumn.CanUserResizeDataGridColumn.CanUserFilterDataGridColumn.CanUserReorderDataGridColumn.CanUserGroupDataGridColumn.CanUserSortDataGridColumn.IsVisibleDataGridColumn.HeaderStyleDataGridColumn.SizeModeDataGridColumn.WidthDataGridColumn.ActualWidthDataGridColumn.IsAutoGeneratedDataGridColumn.HeaderDataGridColumn.SortDirectionDataGridColumn.DataOperationsFlyoutTemplateDataGridColumn.SupportsCompositeFilter

Constructors

DataGridDateTimeColumn()

Declaration

cs-api-definition
public DataGridDateTimeColumn()

Methods

ClearEditorContentVisual(FrameworkElement)

Clears all bindings and content set to the DatePicker visualized when entering edit mode.

Declaration

cs-api-definition
public override void ClearEditorContentVisual(FrameworkElement editorContent)

Parameters

editorContent

FrameworkElement

The editor itself.

Overrides DataGridTextColumn.ClearEditorContentVisual(FrameworkElement)

CreateEditorContentVisual()

Creates an instance of a DatePicker used by the column when entering edit mode.

Declaration

cs-api-definition
public override FrameworkElement CreateEditorContentVisual()

Returns

FrameworkElement

An instance of the editor.

Overrides DataGridTextColumn.CreateEditorContentVisual()

CreateFilterControl()

Creates the DataGridDateFilterControl instance that allows filtering operation to be applied upon this column.

Declaration

cs-api-definition
protected override DataGridFilterControlBase CreateFilterControl()

Returns

DataGridFilterControlBase

Overrides DataGridTextColumn.CreateFilterControl()

GetEditorType(object)

Gets the type of the editor for the DataGridDateColumn that is visualized when entering in edit mode.

Declaration

cs-api-definition
public override object GetEditorType(object item)

Parameters

item

object

Returns

object

The type of the editor.

Overrides DataGridTextColumn.GetEditorType(object)

PrepareEditorContentVisual(FrameworkElement, Binding)

Prepares all bindings and content set to the DatePicker visualized when entering edit mode.

Declaration

cs-api-definition
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 DataGridTextColumn.PrepareEditorContentVisual(FrameworkElement, Binding)