Class
FillTabContent

Represents the content of the fill tab of the FormatCellsDialog.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class FillTabContent : FormatCellsTabContentBase<IFillTabContext>, IFormatCellsTabContent<IFillTabContext>, IFormatCellsTabContent, INotifyPropertyChanged

Inheritance: objectControlBaseFormatCellsTabContentBase<IFillTabContext>FillTabContent

Implements: IFormatCellsTabContentIFormatCellsTabContent<IFillTabContext>INotifyPropertyChanged

Inherited Members FormatCellsTabContentBase<IFillTabContext>.CopyPropertiesToContext(IFormatCellsTabContext)FormatCellsTabContentBase<IFillTabContext>.CopyPropertiesFromContext(IFormatCellsTabContext)FormatCellsTabContentBase<IFillTabContext>.OnApplyingChanges()FormatCellsTabContentBase<IFillTabContext>.OnWindowClosed()FormatCellsTabContentBase<IFillTabContext>.IsPreventApplyingChangesControlBase.GetTemplateChild<T>(string)ControlBase.GetRequiredTemplateChild<T>(string, bool)

Constructors

FillTabContent()

Initializes a new instance of the FillTabContent class.

Declaration

cs-api-definition
public FillTabContent()

Fields

BackgroundColorProperty

Background color dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty BackgroundColorProperty

Field Value

DependencyProperty

ColorPaletteProperty

Color palette dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ColorPaletteProperty

Field Value

DependencyProperty

PatternColorProperty

Pattern color dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PatternColorProperty

Field Value

DependencyProperty

PatternTypeProperty

Pattern type dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PatternTypeProperty

Field Value

DependencyProperty

StateProperty

State dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty StateProperty

Field Value

DependencyProperty

Properties

BackgroundColor

Gets or sets the color of the background.

Declaration

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

Property Value

Color

The color of the background.

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 or sets the type of the gradient.

Declaration

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

Property Value

GradientType

The type of the gradient.

PatternColor

Gets or sets the color of the pattern.

Declaration

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

Property Value

Color

The color of the pattern.

PatternType

Gets or sets the type of the pattern.

Declaration

cs-api-definition
public PatternType PatternType { get; set; }

Property Value

PatternType

The type of the pattern.

PatternTypes

Gets the pattern types.

Declaration

cs-api-definition
public PatternType[] PatternTypes { get; }

Property Value

PatternType[]

The pattern types.

State

Gets or sets the state.

Declaration

cs-api-definition
public FillTabState State { get; set; }

Property Value

FillTabState

The state.

Methods

CopyPropertiesFromContext(IFillTabContext)

Copies the properties from context.

Declaration

cs-api-definition
public override void CopyPropertiesFromContext(IFillTabContext context)

Parameters

context

IFillTabContext

The context.

Overrides FormatCellsTabContentBase<IFillTabContext>.CopyPropertiesFromContext(IFillTabContext)

CopyPropertiesToContext(IFillTabContext)

Copies the properties to context.

Declaration

cs-api-definition
public override void CopyPropertiesToContext(IFillTabContext context)

Parameters

context

IFillTabContext

The context.

Overrides FormatCellsTabContentBase<IFillTabContext>.CopyPropertiesToContext(IFillTabContext)

OnApplyTemplate()

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

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnInitialized(EventArgs)

Declaration

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

Parameters

e

EventArgs

Events

PropertyChanged

Occurs when a property value changes.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged