Class
PatternGradientFillTemplateSelector

Represents pattern gradient fill template selector.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Utilities

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class PatternGradientFillTemplateSelector : DataTemplateSelector

Inheritance: objectPatternGradientFillTemplateSelector

Constructors

PatternGradientFillTemplateSelector()

Declaration

cs-api-definition
public PatternGradientFillTemplateSelector()

Properties

DefaultPatternFillTemplate

Gets or sets the default pattern fill template.

Declaration

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

Property Value

DataTemplate

The default pattern fill template.

GradientFillTemplate

Gets or sets the gradient fill template.

Declaration

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

Property Value

DataTemplate

The gradient fill template.

PatternFillTemplate

Gets or sets the pattern fill template.

Declaration

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

Property Value

DataTemplate

The pattern fill template.

Methods

SelectTemplate(object, DependencyObject)

When overridden in a derived class, returns a DataTemplate based on custom logic.

Declaration

cs-api-definition
public override DataTemplate SelectTemplate(object item, DependencyObject container)

Parameters

item

object

The data object for which to select the template.

container

DependencyObject

The data-bound object.

Returns

DataTemplate

Returns a DataTemplate or null. The default value is null.