New to Telerik UI for WPFStart a free 30-day trial

Selects a value picker template based on the type of the conditional formatting rule.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
public class ConditionalFormattingValuePickerTemplateSelector : DataTemplateSelector

Inheritance: objectConditionalFormattingValuePickerTemplateSelector

Constructors

C#
public ConditionalFormattingValuePickerTemplateSelector()

Properties

A ComboBox picker template.

C#
public DataTemplate ComboBoxPickerTemplate { get; set; }

A double value pickers template.

C#
public DataTemplate DoubleValuePickerTemplate { get; set; }

NoPickerTemplate

DataTemplate

A template without picker.

C#
public DataTemplate NoPickerTemplate { get; set; }

A NumericUpDown picker template.

C#
public DataTemplate NumericUpDownTemplate { get; set; }

A single value picker template.

C#
public DataTemplate SingleValuePickerTemplate { get; set; }

Methods

Override this method to return an app specific DataTemplate.

C#
public override DataTemplate SelectTemplate(object item, DependencyObject container)
Parameters:itemobject

The data content

containerDependencyObject

The element to which the template will be applied

Returns:

DataTemplate

an app-specific template to apply, or null.