Class
ItemTemplateConverter

Provides logic for switching the view between flat and grouped (categorized) property fields.

Definition

Namespace:Telerik.Windows.Controls.Data.PropertyGrid

Assembly:Telerik.Windows.Controls.Data.dll

Syntax:

cs-api-definition
public class ItemTemplateConverter : IValueConverter

Inheritance: objectItemTemplateConverter

Implements: IValueConverter

Constructors

ItemTemplateConverter()

Declaration

cs-api-definition
public ItemTemplateConverter()

Properties

FlatRenderingTemplate

Gets or sets the flat rendering template.

Declaration

cs-api-definition
public DataTemplate FlatRenderingTemplate { get; set; }

Property Value

DataTemplate

The flat rendering template.

FlatTemplate

A data template for flat view.

Declaration

cs-api-definition
public DataTemplate FlatTemplate { get; set; }

Property Value

DataTemplate

GroupTemplate

A data template for grouped (categorized) view.

Declaration

cs-api-definition
public DataTemplate GroupTemplate { get; set; }

Property Value

DataTemplate

VirtualizedFlatTemplate

A data template for virtualized flat view.

Declaration

cs-api-definition
public DataTemplate VirtualizedFlatTemplate { get; set; }

Property Value

DataTemplate

The virtualized flat template.

Methods

Convert(object, Type, object, CultureInfo)

Converts a boolean value to grouped or flat template.

Declaration

cs-api-definition
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)

Parameters

value

object

targetType

Type

parameter

object

culture

CultureInfo

Returns

object

ConvertBack(object, Type, object, CultureInfo)

Not used.

Declaration

cs-api-definition
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)

Parameters

value

object

targetType

Type

parameter

object

culture

CultureInfo

Returns

object