ClassFillEffectsDialogContent
Represents the content of the FillEffectsDialog.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class FillEffectsDialogContent : FillEffectsDialogContentBase, ILocalizable, IRadSpreadsheetDialogContent<FillEffectsDialogContext>, IRadSpreadsheetDialogContent, INotifyPropertyChanged
Inheritance: objectControlBaseRadSpreadsheetDialogContentBaseRadSpreadsheetDialogContentBase<FillEffectsDialogContext>FillEffectsDialogContentBaseFillEffectsDialogContent
Implements:
Inherited Members
Constructors
FillEffectsDialogContent()
Initializes a new instance of the FillEffectsDialogContent class.
Declaration
public FillEffectsDialogContent()
Fields
Color1Property
Color1 dependency property.
Declaration
public static readonly DependencyProperty Color1Property
Field Value
DependencyProperty
Color2Property
Color2 dependency property.
Declaration
public static readonly DependencyProperty Color2Property
Field Value
DependencyProperty
ColorPaletteProperty
Color palette dependency property.
Declaration
public static readonly DependencyProperty ColorPaletteProperty
Field Value
DependencyProperty
SelectedGradientTypeIndexProperty
Selected gradient type index dependency property.
Declaration
public static readonly DependencyProperty SelectedGradientTypeIndexProperty
Field Value
DependencyProperty
SelectedShadingStyleProperty
Selected shading style dependency property.
Declaration
public static readonly DependencyProperty SelectedShadingStyleProperty
Field Value
DependencyProperty
Properties
Color1
Gets or sets the first color.
Declaration
public Color Color1 { get; set; }
Property Value
Color
The first color.
Color2
Gets or sets the second color.
Declaration
public Color Color2 { get; set; }
Property Value
Color
The second color.
ColorPalette
Gets or sets the color palette.
Declaration
public SpreadsheetColorPalette ColorPalette { get; set; }
Property Value
The color palette.
GradientType
Gets the type of the gradient.
Declaration
public GradientType GradientType { get; }
Property Value
GradientType
The type of the gradient.
GradientTypes
Gets the gradient types.
Declaration
public GradientType[] GradientTypes { get; }
Property Value
GradientType[]
The gradient types.
IsOKButtonClicked
Gets or sets a value indicating whether the OK button is clicked.
Declaration
public bool IsOKButtonClicked { get; set; }
Property Value
The value indicating whether the OK button is clicked.
SelectedGradientTypeIndex
Gets or sets the index of the selected gradient type.
Declaration
public int SelectedGradientTypeIndex { get; set; }
Property Value
The index of the selected gradient type.
SelectedShadingStyle
Gets or sets the selected shading style.
Declaration
public ShadingStyle SelectedShadingStyle { get; set; }
Property Value
The selected shading style.
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call .
Declaration
public override void OnApplyTemplate()
Overrides
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
OnKeyDown(KeyEventArgs)
Invoked when an unhandled attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
e
KeyEventArgs
The KeyEventArgs that contains the event data.
OnMouseLeftButtonUp(MouseButtonEventArgs)
Invoked when an unhandled routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
e
MouseButtonEventArgs
The MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was released.
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements