Class
DataGridImageColumn

Represents a concrete DataGridTypedColumn that may present the associated data through Image controls.

Definition

Namespace:Telerik.UI.Xaml.Controls.Grid

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class DataGridImageColumn : DataGridTypedColumn, IExportableColumn

Inheritance: objectRadDependencyObjectDataGridColumnDataGridTypedColumnDataGridImageColumn

Implements: IExportableColumn

Inherited Members DataGridTypedColumn.PropertyNamePropertyDataGridTypedColumn.CellContentStylePropertyDataGridTypedColumn.CellContentStyleSelectorPropertyDataGridTypedColumn.CellEditorStylePropertyDataGridTypedColumn.GetValueForInstance(object)DataGridTypedColumn.GetCellContent(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.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

DataGridImageColumn()

Declaration

cs-api-definition
public DataGridImageColumn()

Methods

ClearCell(object)

Clears the bindings, data etc. of the control visualized by the cell when it is not edited.

Declaration

cs-api-definition
public override void ClearCell(object container)

Parameters

container

object

The container visualizing the cell data when it is not edited.

Overrides DataGridColumn.ClearCell(object)

ClearEditorContentVisual(FrameworkElement)

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

Declaration

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

Parameters

editorContent

FrameworkElement

The editor itself.

Overrides DataGridTypedColumn.ClearEditorContentVisual(FrameworkElement)

CreateContainer(object)

Creates an instance of an Image visualized when the column is not edited.

Declaration

cs-api-definition
public override object CreateContainer(object rowItem)

Parameters

rowItem

object

Returns

object

An instance of the control.

Overrides DataGridColumn.CreateContainer(object)

CreateEditorContentVisual()

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

Declaration

cs-api-definition
public override FrameworkElement CreateEditorContentVisual()

Returns

FrameworkElement

An instance of the editor.

Overrides DataGridTypedColumn.CreateEditorContentVisual()

CreateFilterControl()

Returns null as the Image column may not be filtered by default.

Declaration

cs-api-definition
protected override DataGridFilterControlBase CreateFilterControl()

Returns

DataGridFilterControlBase

Overrides DataGridColumn.CreateFilterControl()

GetContainerType(object)

Gets the type of the control visualized when the image column is not currently edited.

Declaration

cs-api-definition
public override object GetContainerType(object rowItem)

Parameters

rowItem

object

Returns

object

The type of the control.

Overrides DataGridColumn.GetContainerType(object)

GetEditorType(object)

Gets the type of the editor for the DataGridImageColumn 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 DataGridColumn.GetEditorType(object)

PrepareCell(object, object, object)

Prepares the UIElement inside which the cell is visualized.

Declaration

cs-api-definition
public override void PrepareCell(object container, object value, object item)

Parameters

container

object

The element inside which the cell is visualized.

value

object

The value of the cell.

item

object

The business object represented in the cell.

Overrides DataGridTypedColumn.PrepareCell(object, object, object)

PrepareEditorContentVisual(FrameworkElement, Binding)

Prepares all bindings and content set to the Image 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 DataGridTypedColumn.PrepareEditorContentVisual(FrameworkElement, Binding)