Class PatternGradientFillTemplateSelector
Represents pattern gradient fill template selector.
Namespace: Telerik.Windows.Controls.Spreadsheet.Utilities
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class PatternGradientFillTemplateSelector : DataTemplateSelector
Constructors
PatternGradientFillTemplateSelector()
Declaration
public PatternGradientFillTemplateSelector()
Properties
DefaultPatternFillTemplate
Gets or sets the default pattern fill template.
Declaration
public DataTemplate DefaultPatternFillTemplate { get; set; }
Property Value
System.Windows.DataTemplate
The default pattern fill template. |
GradientFillTemplate
Gets or sets the gradient fill template.
Declaration
public DataTemplate GradientFillTemplate { get; set; }
Property Value
System.Windows.DataTemplate
The gradient fill template. |
PatternFillTemplate
Gets or sets the pattern fill template.
Declaration
public DataTemplate PatternFillTemplate { get; set; }
Property Value
System.Windows.DataTemplate
The pattern fill template. |
Methods
SelectTemplate(Object, DependencyObject)
When overridden in a derived class, returns a System.Windows.DataTemplate based on custom logic.
Declaration
public override DataTemplate SelectTemplate(object item, DependencyObject container)
Parameters
System.Object
item
The data object for which to select the template. |
System.Windows.DependencyObject
container
The data-bound object. |
Returns
System.Windows.DataTemplate
Returns a System.Windows.DataTemplate or null. The default value is null. |