Class
HeaderFooterDialogTabViewModel

Represents the HeaderFooter dialog tab view model.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class HeaderFooterDialogTabViewModel : NotifyPropertyChangedBase

Inheritance: objectHeaderFooterDialogTabViewModel

Constructors

HeaderFooterDialogTabViewModel(HeaderFooterDialogTabContext, HeaderFooterContent, Action<MessageBoxNotificationType>, bool)

Initializes a new instance of the HeaderFooterDialogTabViewModel class.

Declaration

cs-api-definition
public HeaderFooterDialogTabViewModel(HeaderFooterDialogTabContext context, HeaderFooterContent contentToUpdate, Action<MessageBoxNotificationType> alertAction, bool isSelected)

Parameters

context

HeaderFooterDialogTabContext

The context.

contentToUpdate

HeaderFooterContent

The content to update.

alertAction

Action<MessageBoxNotificationType>

The alert action.

isSelected

bool

Value indicating whether the corresponding tab should be initially selected.

Properties

FormatTextCommand

Gets or sets the format text command.

Declaration

cs-api-definition
public ICommand FormatTextCommand { get; set; }

Property Value

ICommand

The format text command.

InsertDateCommand

Gets or sets the insert date command.

Declaration

cs-api-definition
public ICommand InsertDateCommand { get; set; }

Property Value

ICommand

The insert date command.

InsertFileNameCommand

Gets or sets the insert file name command.

Declaration

cs-api-definition
public ICommand InsertFileNameCommand { get; set; }

Property Value

ICommand

The insert file name command.

InsertFilePathCommand

Gets or sets the insert file path command.

Declaration

cs-api-definition
public ICommand InsertFilePathCommand { get; set; }

Property Value

ICommand

The insert file path command.

InsertNumberOfPagesCommand

Gets or sets the insert number of pages command.

Declaration

cs-api-definition
public ICommand InsertNumberOfPagesCommand { get; set; }

Property Value

ICommand

The insert number of pages command.

InsertPageNumberCommand

Gets or sets the insert page number command.

Declaration

cs-api-definition
public ICommand InsertPageNumberCommand { get; set; }

Property Value

ICommand

The insert page number command.

InsertSheetNameCommand

Gets or sets the insert sheet name command.

Declaration

cs-api-definition
public ICommand InsertSheetNameCommand { get; set; }

Property Value

ICommand

The insert sheet name command.

InsertTimeCommand

Gets or sets the insert time command.

Declaration

cs-api-definition
public ICommand InsertTimeCommand { get; set; }

Property Value

ICommand

The insert time command.

IsSelected

Gets or sets value indicating whether the corresponding tab is selected.

Declaration

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

Property Value

bool

Value indicating whether the corresponding tab is selected.

IsVisible

Gets or sets the is visible.

Declaration

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

Property Value

bool

The is visible.

TabHeader

Gets or sets the tab header.

Declaration

cs-api-definition
public string TabHeader { get; set; }

Property Value

string

The tab header.

Methods

Initialize(RichTextBox, RichTextBox, RichTextBox)

Initializes the view model.

Declaration

cs-api-definition
public void Initialize(RichTextBox leftSectionBox, RichTextBox centerSectionBox, RichTextBox rightSectionBox)

Parameters

leftSectionBox

RichTextBox

The left section box.

centerSectionBox

RichTextBox

The center section box.

rightSectionBox

RichTextBox

The right section box.

Release()

Releases the view model.

Declaration

cs-api-definition
public void Release()