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
Initializes a new instance of the FillEffectsDialogContent class.
public FillEffectsDialogContent()
Fields
Color1Property
DependencyProperty
Color1 dependency property.
public static readonly DependencyProperty Color1Property
Color2Property
DependencyProperty
Color2 dependency property.
public static readonly DependencyProperty Color2Property
ColorPaletteProperty
DependencyProperty
Color palette dependency property.
public static readonly DependencyProperty ColorPaletteProperty
SelectedGradientTypeIndexProperty
DependencyProperty
Selected gradient type index dependency property.
public static readonly DependencyProperty SelectedGradientTypeIndexProperty
SelectedShadingStyleProperty
DependencyProperty
Selected shading style dependency property.
public static readonly DependencyProperty SelectedShadingStyleProperty
Properties
Color1
Color
Gets or sets the first color.
public Color Color1 { get; set; }
The first color.
Color2
Color
Gets or sets the second color.
public Color Color2 { get; set; }
The second color.
Gets or sets the color palette.
public SpreadsheetColorPalette ColorPalette { get; set; }
The color palette.
GradientType
GradientType
Gets the type of the gradient.
public GradientType GradientType { get; }
The type of the gradient.
GradientTypes
GradientType[]
Gets the gradient types.
public GradientType[] GradientTypes { get; }
The gradient types.
Gets or sets a value indicating whether the OK button is clicked.
public bool IsOKButtonClicked { get; set; }
The value indicating whether the OK button is clicked.
Gets or sets the index of the selected gradient type.
public int SelectedGradientTypeIndex { get; set; }
The index of the selected gradient type.
Gets or sets the selected shading style.
public ShadingStyle SelectedShadingStyle { get; set; }
The selected shading style.
Methods
When overridden in a derived class, is invoked whenever application code or internal processes call .
public override void OnApplyTemplate()
Overrides:
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.
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.
protected override void OnKeyDown(KeyEventArgs e)
The KeyEventArgs that contains the event data.
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.
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
The MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was released.
Events
Occurs when a property value changes.
public event PropertyChangedEventHandler PropertyChanged
Implements: