GradientFillControl
Provides methods and properties for using the GradientFillControl.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Controls
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class GradientFillControl : ControlBase
Inheritance: objectControlBaseGradientFillControl
Inherited Members
Constructors
Initializes a new instance of the GradientFillControl class.
public GradientFillControl()
Initializes a new instance of the GradientFillControl class.
Initializes a new instance of the GradientFillControl class.
public GradientFillControl(GradientFill gradientFill, ThemeColorScheme colorScheme)
The gradient fill as GradientFill value.
colorSchemeThemeColorSchemeThe color scheme as ThemeColorScheme value.
Fields
Color1Property
DependencyProperty
The Dependency property Color1Property, specifying the first color of the Gradient.
public static readonly DependencyProperty Color1Property
Color2Property
DependencyProperty
The Dependency property Color2Property, specifying the second color of the Gradient.
public static readonly DependencyProperty Color2Property
ColorSchemeProperty
DependencyProperty
The Dependency property ColorSchemeProperty.
public static readonly DependencyProperty ColorSchemeProperty
GradientTypeProperty
DependencyProperty
The Dependency property GradientTypeProperty.
public static readonly DependencyProperty GradientTypeProperty
Properties
Color1
ThemableColor
Gets or sets the first color of the Gradient.
public ThemableColor Color1 { get; set; }
The first color of the Gradient.
Color2
ThemableColor
Gets or sets the second color of the Gradient.
public ThemableColor Color2 { get; set; }
The second color of the Gradient.
ColorScheme
ThemeColorScheme
Gets or sets the color scheme.
public ThemeColorScheme ColorScheme { get; set; }
The color scheme.
GradientType
GradientType
Gets or sets the type of the gradient.
public GradientType GradientType { get; set; }
The type of the gradient.
Methods
Called to re-measure a control.
protected override Size MeasureOverride(Size availableSize)
The maximum available size of the control.
Returns:Size
The size of the control, up to the maximum specified by availableSize.
When overridden in a derived class, is invoked whenever application code or internal processes call .
public override void OnApplyTemplate()
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.