Class
PageSetupTabViewModelBase

Represents the base class for page setup tab view model.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public abstract class PageSetupTabViewModelBase : DialogViewModelBase<PageSetupDialogContext>

Inheritance: objectDialogViewModelBase<PageSetupDialogContext>PageSetupTabViewModelBase

Derived Classes: HeaderFooterTabViewModelMarginsTabViewModelPageTabViewModelSheetTabViewModel

Inherited Members DialogViewModelBase<PageSetupDialogContext>.Context

Constructors

PageSetupTabViewModelBase(PageSetupDialogViewModel, PageSetupDialogContext, bool)

Initializes a new instance of the PageSetupTabViewModelBase class.

Declaration

cs-api-definition
protected PageSetupTabViewModelBase(PageSetupDialogViewModel dialogViewModel, PageSetupDialogContext context, bool isSelected)

Parameters

dialogViewModel

PageSetupDialogViewModel

The dialog view model.

context

PageSetupDialogContext

The context.

isSelected

bool

The is selected.

Properties

DialogViewModel

Gets or sets the dialog view model.

Declaration

cs-api-definition
protected PageSetupDialogViewModel DialogViewModel { get; }

Property Value

PageSetupDialogViewModel

The dialog view model.

IsSelected

Gets or sets the value indicating whether this tab is selected.

Declaration

cs-api-definition
public bool IsSelected { get; set; }

Property Value

bool

The value indicating whether this tab is selected.

PageSetup

Gets the page setup.

Declaration

cs-api-definition
protected SheetPageSetupBase PageSetup { get; }

Property Value

SheetPageSetupBase

The page setup.

SheetContextType

Gets the type of the sheet context.

Declaration

cs-api-definition
protected SheetType SheetContextType { get; }

Property Value

SheetType

The type of the sheet context.

TabHeader

Gets the tab header.

Declaration

cs-api-definition
public abstract string TabHeader { get; }

Property Value

string

The tab header.

Worksheet

Gets the worksheet with which the tab is associated.

Declaration

cs-api-definition
protected Worksheet Worksheet { get; }

Property Value

Worksheet

WorksheetPageSetup

Gets the worksheet page setup.

Declaration

cs-api-definition
protected WorksheetPageSetup WorksheetPageSetup { get; }

Property Value

WorksheetPageSetup

The worksheet page setup.

Methods

CopyPropertiesFromContext()

Copies the properties from context.

Declaration

cs-api-definition
public abstract void CopyPropertiesFromContext()

CopyPropertiesToContext()

Copies the properties to context.

Declaration

cs-api-definition
public abstract void CopyPropertiesToContext()