Xceed DataGrid for WPF v7.2 Documentation
CellContentTemplateSelector Property


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > ColumnBase Class : CellContentTemplateSelector Property
Gets or sets a DataTemplateSelector that provides a way to apply a different CellContentTemplate based on custom logic.
Syntax
'Declaration
 
Public Property CellContentTemplateSelector As DataTemplateSelector
'Usage
 
Dim instance As ColumnBase
Dim value As DataTemplateSelector
 
instance.CellContentTemplateSelector = value
 
value = instance.CellContentTemplateSelector
public DataTemplateSelector CellContentTemplateSelector {get; set;}

Property Value

A reference to a DataTemplateSelector that provides a way to apply a different CellContentTemplate based on custom logic.
Remarks
To provide a custom DataTemplateSelector, create a class that derives from the DataTemplateSelector and override the SelectTemplate method that will return the appropriate DataTemplates.
Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ColumnBase Class
ColumnBase Members