New to Telerik UI for WPFStart a free 30-day trial

Represents the base class for page setup tab view model.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
public abstract class PageSetupTabViewModelBase : DialogViewModelBase<PageSetupDialogContext>

Inheritance: objectDialogViewModelBase<PageSetupDialogContext>PageSetupTabViewModelBase

Derived Classes: HeaderFooterTabViewModelMarginsTabViewModelPageTabViewModelSheetTabViewModel

Inherited Members DialogViewModelBase<PageSetupDialogContext>.Context

Constructors

Initializes a new instance of the PageSetupTabViewModelBase class.

C#
protected PageSetupTabViewModelBase(PageSetupDialogViewModel dialogViewModel, PageSetupDialogContext context, bool isSelected)
Parameters:dialogViewModelPageSetupDialogViewModel

The dialog view model.

contextPageSetupDialogContext

The context.

isSelectedbool

The is selected.

Properties

Gets or sets the dialog view model.

C#
protected PageSetupDialogViewModel DialogViewModel { get; }
Property Value:

The dialog view model.

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

C#
public bool IsSelected { get; set; }
Property Value:

The value indicating whether this tab is selected.

PageSetup

SheetPageSetupBase

Gets the page setup.

C#
protected SheetPageSetupBase PageSetup { get; }
Property Value:

The page setup.

Gets the type of the sheet context.

C#
protected SheetType SheetContextType { get; }
Property Value:

The type of the sheet context.

Gets the tab header.

C#
public abstract string TabHeader { get; }
Property Value:

The tab header.

Worksheet

Worksheet

Gets the worksheet with which the tab is associated.

C#
protected Worksheet Worksheet { get; }

WorksheetPageSetup

WorksheetPageSetup

Gets the worksheet page setup.

C#
protected WorksheetPageSetup WorksheetPageSetup { get; }
Property Value:

The worksheet page setup.

Methods

Copies the properties from context.

C#
public abstract void CopyPropertiesFromContext()

Copies the properties to context.

C#
public abstract void CopyPropertiesToContext()