ClassPageSetupTabViewModelBase
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
PageSetupTabViewModelBase(PageSetupDialogViewModel, PageSetupDialogContext, bool)
Initializes a new instance of the PageSetupTabViewModelBase class.
Declaration
protected PageSetupTabViewModelBase(PageSetupDialogViewModel dialogViewModel, PageSetupDialogContext context, bool isSelected)
Parameters
dialogViewModel
The dialog view model.
context
The context.
isSelected
The is selected.
Properties
DialogViewModel
Gets or sets the dialog view model.
Declaration
protected PageSetupDialogViewModel DialogViewModel { get; }
Property Value
The dialog view model.
IsSelected
Gets or sets the value indicating whether this tab is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
The value indicating whether this tab is selected.
PageSetup
Gets the page setup.
Declaration
protected SheetPageSetupBase PageSetup { get; }
Property Value
SheetPageSetupBase
The page setup.
SheetContextType
Gets the type of the sheet context.
Declaration
protected SheetType SheetContextType { get; }
Property Value
SheetType
The type of the sheet context.
TabHeader
Gets the tab header.
Declaration
public abstract string TabHeader { get; }
Property Value
The tab header.
Worksheet
Gets the worksheet with which the tab is associated.
Declaration
protected Worksheet Worksheet { get; }
Property Value
Worksheet
WorksheetPageSetup
Gets the worksheet page setup.
Declaration
protected WorksheetPageSetup WorksheetPageSetup { get; }
Property Value
WorksheetPageSetup
The worksheet page setup.
Methods
CopyPropertiesFromContext()
Copies the properties from context.
Declaration
public abstract void CopyPropertiesFromContext()
CopyPropertiesToContext()
Copies the properties to context.
Declaration
public abstract void CopyPropertiesToContext()