Class
FillEffectsDialogContent

Represents the content of the FillEffectsDialog.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class FillEffectsDialogContent : FillEffectsDialogContentBase, ILocalizable, IRadSpreadsheetDialogContent<FillEffectsDialogContext>, IRadSpreadsheetDialogContent, INotifyPropertyChanged

Inheritance: objectControlBaseRadSpreadsheetDialogContentBaseRadSpreadsheetDialogContentBase<FillEffectsDialogContext>FillEffectsDialogContentBaseFillEffectsDialogContent

Implements: ILocalizableINotifyPropertyChangedIRadSpreadsheetDialogContentIRadSpreadsheetDialogContent<FillEffectsDialogContext>

Inherited Members RadSpreadsheetDialogContentBase<FillEffectsDialogContext>.ShowDialog(FillEffectsDialogContext)RadSpreadsheetDialogContentBase<FillEffectsDialogContext>.ShowDialogOverride()RadSpreadsheetDialogContentBase<FillEffectsDialogContext>.Show(FillEffectsDialogContext)RadSpreadsheetDialogContentBase<FillEffectsDialogContext>.ShowOverride()RadSpreadsheetDialogContentBase<FillEffectsDialogContext>.CloseOverride()RadSpreadsheetDialogContentBase<FillEffectsDialogContext>.Close()RadSpreadsheetDialogContentBase<FillEffectsDialogContext>.ExecuteOnNextClosed(Action)RadSpreadsheetDialogContentBase<FillEffectsDialogContext>.OnClosed()RadSpreadsheetDialogContentBase<FillEffectsDialogContext>.HostWindowRadSpreadsheetDialogContentBase<FillEffectsDialogContext>.ContextRadSpreadsheetDialogContentBase<FillEffectsDialogContext>.ClosedRadSpreadsheetDialogContentBase.HeaderPropertyRadSpreadsheetDialogContentBase.ResizeModePropertyRadSpreadsheetDialogContentBase.WindowStartupLocationPropertyRadSpreadsheetDialogContentBase.CanMovePropertyRadSpreadsheetDialogContentBase.DialogResultPropertyRadSpreadsheetDialogContentBase.HostWindowMinWidthPropertyRadSpreadsheetDialogContentBase.HostWindowMinHeightPropertyRadSpreadsheetDialogContentBase.HostWindowMaxWidthPropertyRadSpreadsheetDialogContentBase.HostWindowMaxHeightPropertyRadSpreadsheetDialogContentBase.SetString(string)RadSpreadsheetDialogContentBase.HeaderRadSpreadsheetDialogContentBase.ResizeModeRadSpreadsheetDialogContentBase.WindowStartupLocationRadSpreadsheetDialogContentBase.CanMoveRadSpreadsheetDialogContentBase.DialogResultRadSpreadsheetDialogContentBase.HostWindowMinWidthRadSpreadsheetDialogContentBase.HostWindowMinHeightRadSpreadsheetDialogContentBase.HostWindowMaxWidthRadSpreadsheetDialogContentBase.HostWindowMaxHeightControlBase.GetTemplateChild<T>(string)ControlBase.GetRequiredTemplateChild<T>(string, bool)

Constructors

FillEffectsDialogContent()

Initializes a new instance of the FillEffectsDialogContent class.

Declaration

cs-api-definition
public FillEffectsDialogContent()

Fields

Color1Property

Color1 dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty Color1Property

Field Value

DependencyProperty

Color2Property

Color2 dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty Color2Property

Field Value

DependencyProperty

ColorPaletteProperty

Color palette dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ColorPaletteProperty

Field Value

DependencyProperty

SelectedGradientTypeIndexProperty

Selected gradient type index dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedGradientTypeIndexProperty

Field Value

DependencyProperty

SelectedShadingStyleProperty

Selected shading style dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedShadingStyleProperty

Field Value

DependencyProperty

Properties

Color1

Gets or sets the first color.

Declaration

cs-api-definition
public Color Color1 { get; set; }

Property Value

Color

The first color.

Color2

Gets or sets the second color.

Declaration

cs-api-definition
public Color Color2 { get; set; }

Property Value

Color

The second color.

ColorPalette

Gets or sets the color palette.

Declaration

cs-api-definition
public SpreadsheetColorPalette ColorPalette { get; set; }

Property Value

SpreadsheetColorPalette

The color palette.

GradientType

Gets the type of the gradient.

Declaration

cs-api-definition
public GradientType GradientType { get; }

Property Value

GradientType

The type of the gradient.

GradientTypes

Gets the gradient types.

Declaration

cs-api-definition
public GradientType[] GradientTypes { get; }

Property Value

GradientType[]

The gradient types.

IsOKButtonClicked

Gets or sets a value indicating whether the OK button is clicked.

Declaration

cs-api-definition
public bool IsOKButtonClicked { get; set; }

Property Value

bool

The value indicating whether the OK button is clicked.

SelectedGradientTypeIndex

Gets or sets the index of the selected gradient type.

Declaration

cs-api-definition
public int SelectedGradientTypeIndex { get; set; }

Property Value

int

The index of the selected gradient type.

SelectedShadingStyle

Gets or sets the selected shading style.

Declaration

cs-api-definition
public ShadingStyle SelectedShadingStyle { get; set; }

Property Value

ShadingStyle

The selected shading style.

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call .

Declaration

cs-api-definition
public override void OnApplyTemplate()

Overrides RadSpreadsheetDialogContentBase<FillEffectsDialogContext>.OnApplyTemplate()

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

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

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged