New to Telerik UI for WPFStart a free 30-day trial

Represents the HeaderFooter dialog tab view model.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
public class HeaderFooterDialogTabViewModel : NotifyPropertyChangedBase

Inheritance: objectHeaderFooterDialogTabViewModel

Constructors

Initializes a new instance of the HeaderFooterDialogTabViewModel class.

C#
public HeaderFooterDialogTabViewModel(HeaderFooterDialogTabContext context, HeaderFooterContent contentToUpdate, Action<MessageBoxNotificationType> alertAction, bool isSelected)
Parameters:contextHeaderFooterDialogTabContext

The context.

contentToUpdateHeaderFooterContent

The content to update.

alertActionAction<MessageBoxNotificationType>

The alert action.

isSelectedbool

Value indicating whether the corresponding tab should be initially selected.

Properties

Gets or sets the format text command.

C#
public ICommand FormatTextCommand { get; set; }
Property Value:

The format text command.

Gets or sets the insert date command.

C#
public ICommand InsertDateCommand { get; set; }
Property Value:

The insert date command.

Gets or sets the insert file name command.

C#
public ICommand InsertFileNameCommand { get; set; }
Property Value:

The insert file name command.

Gets or sets the insert file path command.

C#
public ICommand InsertFilePathCommand { get; set; }
Property Value:

The insert file path command.

Gets or sets the insert number of pages command.

C#
public ICommand InsertNumberOfPagesCommand { get; set; }
Property Value:

The insert number of pages command.

Gets or sets the insert page number command.

C#
public ICommand InsertPageNumberCommand { get; set; }
Property Value:

The insert page number command.

Gets or sets the insert sheet name command.

C#
public ICommand InsertSheetNameCommand { get; set; }
Property Value:

The insert sheet name command.

Gets or sets the insert time command.

C#
public ICommand InsertTimeCommand { get; set; }
Property Value:

The insert time command.

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

C#
public bool IsSelected { get; set; }
Property Value:

Value indicating whether the corresponding tab is selected.

Gets or sets the is visible.

C#
public bool IsVisible { get; set; }
Property Value:

The is visible.

Gets or sets the tab header.

C#
public string TabHeader { get; set; }
Property Value:

The tab header.

Methods

Initializes the view model.

C#
public void Initialize(RichTextBox leftSectionBox, RichTextBox centerSectionBox, RichTextBox rightSectionBox)
Parameters:leftSectionBoxRichTextBox

The left section box.

centerSectionBoxRichTextBox

The center section box.

rightSectionBoxRichTextBox

The right section box.

Releases the view model.

C#
public void Release()