Class
AlignmentTabContent

Represents the content of the alignment tab of the FormatCellsDialog.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class AlignmentTabContent : FormatCellsTabContentBase<IAlignmentTabContext>, IFormatCellsTabContent<IAlignmentTabContext>, IFormatCellsTabContent

Inheritance: objectControlBaseFormatCellsTabContentBase<IAlignmentTabContext>AlignmentTabContent

Implements: IFormatCellsTabContentIFormatCellsTabContent<IAlignmentTabContext>

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

Constructors

AlignmentTabContent()

Initializes a new instance of the AlignmentTabContent class.

Declaration

cs-api-definition
public AlignmentTabContent()

Fields

IndentProperty

indent dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IndentProperty

Field Value

DependencyProperty

IsIndentEnabledProperty

Is indent enabled dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsIndentEnabledProperty

Field Value

DependencyProperty

IsMergedProperty

Is merged dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsMergedProperty

Field Value

DependencyProperty

IsMergingEnabledProperty

Is merging enabled dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsMergingEnabledProperty

Field Value

DependencyProperty

IsTextWrapEnabledProperty

Is text wrap enabled dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsTextWrapEnabledProperty

Field Value

DependencyProperty

SelectedHorizontalAlignmentProperty

Selected horizontal alignment dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedHorizontalAlignmentProperty

Field Value

DependencyProperty

SelectedVerticalAlignmentProperty

Selected vertical alignment dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedVerticalAlignmentProperty

Field Value

DependencyProperty

Properties

HorizontalAlignments

Gets the horizontal alignments.

Declaration

cs-api-definition
public RadHorizontalAlignment[] HorizontalAlignments { get; }

Property Value

RadHorizontalAlignment[]

The horizontal alignments.

Indent

Gets or sets the indent.

Declaration

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

Property Value

int

The indent.

IsIndentEnabled

Gets or sets a value indicating whether the indent is enabled.

Declaration

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

Property Value

bool

The value indicating whether the indent is enabled.

IsMerged

Gets or sets the merging choice.

Declaration

cs-api-definition
public bool? IsMerged { get; set; }

Property Value

bool?

The merging choice.

IsMergingEnabled

Gets or sets a value indicating whether the merging is enabled.

Declaration

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

Property Value

bool

The value indicating whether the merging is enabled.

IsWrapped

Gets or sets the wrapping choice.

Declaration

cs-api-definition
public bool? IsWrapped { get; set; }

Property Value

bool?

The wrapping choice.

SelectedHorizontalAlignment

Gets or sets the selected horizontal alignment.

Declaration

cs-api-definition
public RadHorizontalAlignment SelectedHorizontalAlignment { get; set; }

Property Value

RadHorizontalAlignment

The selected horizontal alignment.

SelectedVerticalAlignment

Gets or sets the selected vertical alignment.

Declaration

cs-api-definition
public RadVerticalAlignment SelectedVerticalAlignment { get; set; }

Property Value

RadVerticalAlignment

The selected vertical alignment.

VerticalAlignments

Gets the vertical alignments.

Declaration

cs-api-definition
public RadVerticalAlignment[] VerticalAlignments { get; }

Property Value

RadVerticalAlignment[]

The vertical alignments.

Methods

CopyPropertiesFromContext(IAlignmentTabContext)

Copies the properties from context.

Declaration

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

Parameters

context

IAlignmentTabContext

The context.

Overrides FormatCellsTabContentBase<IAlignmentTabContext>.CopyPropertiesFromContext(IAlignmentTabContext)

CopyPropertiesToContext(IAlignmentTabContext)

Copies the properties to context.

Declaration

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

Parameters

context

IAlignmentTabContext

The context.

Overrides FormatCellsTabContentBase<IAlignmentTabContext>.CopyPropertiesToContext(IAlignmentTabContext)

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.