ClassHeaderFooterDialogTabViewModel
Represents the HeaderFooter dialog tab view model.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class HeaderFooterDialogTabViewModel : NotifyPropertyChangedBase
Inheritance: objectHeaderFooterDialogTabViewModel
Constructors
HeaderFooterDialogTabViewModel(HeaderFooterDialogTabContext, HeaderFooterContent, Action<MessageBoxNotificationType>, bool)
Initializes a new instance of the HeaderFooterDialogTabViewModel class.
Declaration
public HeaderFooterDialogTabViewModel(HeaderFooterDialogTabContext context, HeaderFooterContent contentToUpdate, Action<MessageBoxNotificationType> alertAction, bool isSelected)
Parameters
context
The context.
contentToUpdate
HeaderFooterContent
The content to update.
alertAction
Action<MessageBoxNotificationType>
The alert action.
isSelected
Value indicating whether the corresponding tab should be initially selected.
Properties
FormatTextCommand
Gets or sets the format text command.
Declaration
public ICommand FormatTextCommand { get; set; }
Property Value
The format text command.
InsertDateCommand
Gets or sets the insert date command.
Declaration
public ICommand InsertDateCommand { get; set; }
Property Value
The insert date command.
InsertFileNameCommand
Gets or sets the insert file name command.
Declaration
public ICommand InsertFileNameCommand { get; set; }
Property Value
The insert file name command.
InsertFilePathCommand
Gets or sets the insert file path command.
Declaration
public ICommand InsertFilePathCommand { get; set; }
Property Value
The insert file path command.
InsertNumberOfPagesCommand
Gets or sets the insert number of pages command.
Declaration
public ICommand InsertNumberOfPagesCommand { get; set; }
Property Value
The insert number of pages command.
InsertPageNumberCommand
Gets or sets the insert page number command.
Declaration
public ICommand InsertPageNumberCommand { get; set; }
Property Value
The insert page number command.
InsertSheetNameCommand
Gets or sets the insert sheet name command.
Declaration
public ICommand InsertSheetNameCommand { get; set; }
Property Value
The insert sheet name command.
InsertTimeCommand
Gets or sets the insert time command.
Declaration
public ICommand InsertTimeCommand { get; set; }
Property Value
The insert time command.
IsSelected
Gets or sets value indicating whether the corresponding tab is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
Value indicating whether the corresponding tab is selected.
IsVisible
Gets or sets the is visible.
Declaration
public bool IsVisible { get; set; }
Property Value
The is visible.
Methods
Initialize(RichTextBox, RichTextBox, RichTextBox)
Initializes the view model.
Declaration
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.