Class
PrintPreviewViewModel

Represents the print preview view model.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Controls

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class PrintPreviewViewModel : NotifyPropertyChangedBase

Inheritance: objectPrintPreviewViewModel

Properties

CanMoveToNextPage

Gets a value indicating whether it is possible to move to the next page.

Declaration

cs-api-definition
public bool CanMoveToNextPage { get; }

Property Value

bool

The value indicating whether it is possible to move to the next page.

CanMoveToPreviousPage

Gets a value indicating whether it is possible to move to the previous page.

Declaration

cs-api-definition
public bool CanMoveToPreviousPage { get; }

Property Value

bool

The value indicating whether can it is possible to move to the previous page.

Copies

Gets or sets the number of copies.

Declaration

cs-api-definition
public int? Copies { get; set; }

Property Value

int?

The number of copies.

CurrentPageNumberTextValue

Gets or sets the current page number text value.

Declaration

cs-api-definition
public string CurrentPageNumberTextValue { get; set; }

Property Value

string

The current page number text value.

FromPage

Gets or sets the number of the first page to be printed.

Declaration

cs-api-definition
public int? FromPage { get; set; }

Property Value

int?

The number of the first page to be printed.

HasAnyPages

Gets a value indicating whether there are any pages.

Declaration

cs-api-definition
public bool HasAnyPages { get; }

Property Value

bool

The value indicating whether there are any pages.

IsIgnorePrintAreaEnabled

Gets or sets a value indicating whether the ignore print area option is enabled.

Declaration

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

Property Value

bool

The value indicating whether the ignore print area option is enabled.

IsMarginsDropDownOpened

Gets or sets a value indicating whether the margins drop down is opened.

Declaration

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

Property Value

bool

The value indicating whether the margins drop down is opened.

IsPaperTypeDropDownOpened

Gets or sets a value indicating whether the paper type drop down is opened.

Declaration

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

Property Value

bool

The value indicating whether the paper type drop down is opened.

IsScalingDropDownOpened

Gets or sets a value indicating whether the scaling drop down is opened.

Declaration

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

Property Value

bool

The value indicating whether the scaling drop down is opened.

MarginsDropDownItems

Gets the margins drop down items.

Declaration

cs-api-definition
public ObservableCollection<PageMarginsDropDownItemModel> MarginsDropDownItems { get; }

Property Value

ObservableCollection<PageMarginsDropDownItemModel>

The margins drop down items.

MoveToNextPageCommand

Gets or sets the move to next page command.

Declaration

cs-api-definition
public ICommand MoveToNextPageCommand { get; set; }

Property Value

ICommand

The move to next page command.

MoveToPreviousPageCommand

Gets or sets the move to previous page command.

Declaration

cs-api-definition
public ICommand MoveToPreviousPageCommand { get; set; }

Property Value

ICommand

The move to previous page command.

PageOrientationDropDownItems

Gets the page orientation drop down items.

Declaration

cs-api-definition
public ObservableCollection<PageOrientationDropDownItemModel> PageOrientationDropDownItems { get; }

Property Value

ObservableCollection<PageOrientationDropDownItemModel>

The page orientation drop down items.

PagesCount

Gets the pages count.

Declaration

cs-api-definition
public int PagesCount { get; }

Property Value

int

The pages count.

PaperTypeDropDownItems

Gets the paper type drop down items.

Declaration

cs-api-definition
public ObservableCollection<PaperTypeDropDownItemModel> PaperTypeDropDownItems { get; }

Property Value

ObservableCollection<PaperTypeDropDownItemModel>

The paper type drop down items.

PrintCollatedDropDownItems

Gets the print collated drop down items.

Declaration

cs-api-definition
public ObservableCollection<PrintCollatedDropDownItemModel> PrintCollatedDropDownItems { get; }

Property Value

ObservableCollection<PrintCollatedDropDownItemModel>

The print collated drop down items.

PrintCommand

Gets or sets the print command.

Declaration

cs-api-definition
public ICommand PrintCommand { get; set; }

Property Value

ICommand

The print command.

PrintWhatDropDownItems

Gets the print what drop down items.

Declaration

cs-api-definition
public ObservableCollection<PrintWhatDropDownItemModel> PrintWhatDropDownItems { get; }

Property Value

ObservableCollection<PrintWhatDropDownItemModel>

The print what drop down items.

PrintWhatSettings

Gets or sets the print what settings.

Declaration

cs-api-definition
public PrintWhatSettings PrintWhatSettings { get; set; }

Property Value

PrintWhatSettings

The print what settings.

ScalingTypeDropDownItems

Gets the scaling type drop down items.

Declaration

cs-api-definition
public ObservableCollection<ScalingTypeDropDownItemModel> ScalingTypeDropDownItems { get; }

Property Value

ObservableCollection<ScalingTypeDropDownItemModel>

The scaling type drop down items.

SelectIgnorePrintAreaCommand

Gets or sets the select ignore print area command.

Declaration

cs-api-definition
public ICommand SelectIgnorePrintAreaCommand { get; set; }

Property Value

ICommand

The select ignore print area command.

SelectedMarginsModel

Gets the selected margins model.

Declaration

cs-api-definition
public PageMarginsDropDownItemModel SelectedMarginsModel { get; }

Property Value

PageMarginsDropDownItemModel

The selected margins model.

SelectedPageOrientationModel

Gets the selected page orientation model.

Declaration

cs-api-definition
public PageOrientationDropDownItemModel SelectedPageOrientationModel { get; }

Property Value

PageOrientationDropDownItemModel

The selected page orientation model.

SelectedPaperTypeModel

Gets the selected paper type model.

Declaration

cs-api-definition
public PaperTypeDropDownItemModel SelectedPaperTypeModel { get; }

Property Value

PaperTypeDropDownItemModel

The selected paper type model.

SelectedPrintCollatedModel

Gets the selected print collated model.

Declaration

cs-api-definition
public PrintCollatedDropDownItemModel SelectedPrintCollatedModel { get; }

Property Value

PrintCollatedDropDownItemModel

The selected print collated model.

SelectedPrintWhatModel

Gets the selected print what model.

Declaration

cs-api-definition
public PrintWhatDropDownItemModel SelectedPrintWhatModel { get; }

Property Value

PrintWhatDropDownItemModel

The selected print what model.

SelectedScalingTypeDropDownModel

Gets the selected scaling type drop down model.

Declaration

cs-api-definition
public ScalingTypeDropDownItemModel SelectedScalingTypeDropDownModel { get; }

Property Value

ScalingTypeDropDownItemModel

The selected scaling type drop down model.

ShowPageSetupDialogMarginsTabCommand

Gets or sets the show page setup dialog margins tab command.

Declaration

cs-api-definition
public ICommand ShowPageSetupDialogMarginsTabCommand { get; set; }

Property Value

ICommand

The show page setup dialog margins tab command.

ShowPageSetupDialogPageTabCommand

Gets or sets the show page setup dialog page tab command.

Declaration

cs-api-definition
public ICommand ShowPageSetupDialogPageTabCommand { get; set; }

Property Value

ICommand

The show page setup dialog page tab command.

ToPage

Gets or sets the number of the last page to be printed.

Declaration

cs-api-definition
public int? ToPage { get; set; }

Property Value

int?

The number of the last page to be printed.