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
Initializes a new instance of the HeaderFooterDialogTabViewModel class.
public HeaderFooterDialogTabViewModel(HeaderFooterDialogTabContext context, HeaderFooterContent contentToUpdate, Action<MessageBoxNotificationType> alertAction, bool isSelected)
The context.
contentToUpdateHeaderFooterContentThe content to update.
alertActionAction<MessageBoxNotificationType>The alert action.
isSelectedboolValue indicating whether the corresponding tab should be initially selected.
Properties
Gets or sets the format text command.
public ICommand FormatTextCommand { get; set; }
The format text command.
Gets or sets the insert date command.
public ICommand InsertDateCommand { get; set; }
The insert date command.
Gets or sets the insert file name command.
public ICommand InsertFileNameCommand { get; set; }
The insert file name command.
Gets or sets the insert file path command.
public ICommand InsertFilePathCommand { get; set; }
The insert file path command.
Gets or sets the insert number of pages command.
public ICommand InsertNumberOfPagesCommand { get; set; }
The insert number of pages command.
Gets or sets the insert page number command.
public ICommand InsertPageNumberCommand { get; set; }
The insert page number command.
Gets or sets the insert sheet name command.
public ICommand InsertSheetNameCommand { get; set; }
The insert sheet name command.
Gets or sets the insert time command.
public ICommand InsertTimeCommand { get; set; }
The insert time command.
Gets or sets value indicating whether the corresponding tab is selected.
public bool IsSelected { get; set; }
Value indicating whether the corresponding tab is selected.
Gets or sets the is visible.
public bool IsVisible { get; set; }
The is visible.
Methods
Initializes the view model.
public void Initialize(RichTextBox leftSectionBox, RichTextBox centerSectionBox, RichTextBox rightSectionBox)
The left section box.
centerSectionBoxRichTextBoxThe center section box.
rightSectionBoxRichTextBoxThe right section box.
Releases the view model.
public void Release()