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