Class PageSetupTabViewModelBase
Represents the base class for page setup tab view model.
Inherited Members
Namespace: Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public abstract class PageSetupTabViewModelBase : DialogViewModelBase<PageSetupDialogContext>
Constructors
PageSetupTabViewModelBase(PageSetupDialogViewModel, PageSetupDialogContext, Boolean)
Initializes a new instance of the PageSetupTabViewModelBase class.
Declaration
protected PageSetupTabViewModelBase(PageSetupDialogViewModel dialogViewModel, PageSetupDialogContext context, bool isSelected)
Parameters
PageSetupDialogViewModel
dialogViewModel
The dialog view model. |
PageSetupDialogContext
context
The context. |
System.Boolean
isSelected
The is selected. |
Properties
DialogViewModel
Gets or sets the dialog view model.
Declaration
protected PageSetupDialogViewModel DialogViewModel { get; }
Property Value
PageSetupDialogViewModel
The dialog view model. |
IsSelected
Gets or sets the value indicating whether this tab is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
System.Boolean
The value indicating whether this tab is selected. |
PageSetup
Gets the page setup.
Declaration
protected SheetPageSetupBase PageSetup { get; }
Property Value
Telerik.Windows.Documents.Spreadsheet.Model.Printing.SheetPageSetupBase
The page setup. |
SheetContextType
Gets the type of the sheet context.
Declaration
protected SheetType SheetContextType { get; }
Property Value
Telerik.Windows.Documents.Spreadsheet.Model.SheetType
The type of the sheet context. |
TabHeader
Gets the tab header.
Declaration
public abstract string TabHeader { get; }
Property Value
System.String
The tab header. |
Worksheet
Gets the worksheet with which the tab is associated.
Declaration
protected Worksheet Worksheet { get; }
Property Value
Telerik.Windows.Documents.Spreadsheet.Model.Worksheet
|
WorksheetPageSetup
Gets the worksheet page setup.
Declaration
protected WorksheetPageSetup WorksheetPageSetup { get; }
Property Value
Telerik.Windows.Documents.Spreadsheet.Model.Printing.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()