Class ItemTemplateConverter
Provides logic for switching the view between flat and grouped (categorized) property fields.
Inheritance
Namespace: Telerik.Windows.Controls.Data.PropertyGrid
Assembly: Telerik.Windows.Controls.Data.dll
Syntax
public class ItemTemplateConverter : Object, IValueConverter
Constructors
ItemTemplateConverter()
Declaration
public ItemTemplateConverter()
Properties
FlatRenderingTemplate
Gets or sets the flat rendering template.
Declaration
public DataTemplate FlatRenderingTemplate { get; set; }
Property Value
System.Windows.DataTemplate
The flat rendering template. |
FlatTemplate
A data template for flat view.
Declaration
public DataTemplate FlatTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
GroupTemplate
A data template for grouped (categorized) view.
Declaration
public DataTemplate GroupTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
VirtualizedFlatTemplate
A data template for virtualized flat view.
Declaration
public DataTemplate VirtualizedFlatTemplate { get; set; }
Property Value
System.Windows.DataTemplate
The virtualized flat template. |
Methods
Convert(Object, Type, Object, CultureInfo)
Converts a boolean value to grouped or flat template.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
|
System.Type
targetType
|
System.Object
parameter
|
System.Globalization.CultureInfo
culture
|
Returns
System.Object
|
ConvertBack(Object, Type, Object, CultureInfo)
Not used.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
|
System.Type
targetType
|
System.Object
parameter
|
System.Globalization.CultureInfo
culture
|
Returns
System.Object
|