Class PageSetupTabViewModelBase
Represents the base class for page setup tab view model.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Controls.Spreadsheet.Dialogs
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public abstract class PageSetupTabViewModelBase : DialogViewModelBase<PageSetupDialogContext>, INotifyPropertyChanged
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
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
System.String
The tab header. |
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()