Represents the base class for page setup tab view model.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public abstract class PageSetupTabViewModelBase : DialogViewModelBase<PageSetupDialogContext>
Inheritance: objectDialogViewModelBase<PageSetupDialogContext>PageSetupTabViewModelBase
Derived Classes:
Inherited Members
Constructors
Initializes a new instance of the PageSetupTabViewModelBase class.
protected PageSetupTabViewModelBase(PageSetupDialogViewModel dialogViewModel, PageSetupDialogContext context, bool isSelected)
The dialog view model.
contextPageSetupDialogContextThe context.
isSelectedboolThe is selected.
Properties
Gets or sets the dialog view model.
protected PageSetupDialogViewModel DialogViewModel { get; }
The dialog view model.
Gets or sets the value indicating whether this tab is selected.
public bool IsSelected { get; set; }
The value indicating whether this tab is selected.
PageSetup
SheetPageSetupBase
Gets the page setup.
protected SheetPageSetupBase PageSetup { get; }
The page setup.
SheetContextType
SheetType
Gets the type of the sheet context.
protected SheetType SheetContextType { get; }
The type of the sheet context.
Gets the tab header.
public abstract string TabHeader { get; }
The tab header.
Worksheet
Worksheet
Gets the worksheet with which the tab is associated.
protected Worksheet Worksheet { get; }
WorksheetPageSetup
WorksheetPageSetup
Gets the worksheet page setup.
protected WorksheetPageSetup WorksheetPageSetup { get; }
The worksheet page setup.
Methods
Copies the properties from context.
public abstract void CopyPropertiesFromContext()
Copies the properties to context.
public abstract void CopyPropertiesToContext()