ClassPrintPreviewViewModel
Represents the print preview view model.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Controls
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class PrintPreviewViewModel : NotifyPropertyChangedBase
Inheritance: objectPrintPreviewViewModel
Properties
CanMoveToNextPage
Gets a value indicating whether it is possible to move to the next page.
Declaration
public bool CanMoveToNextPage { get; }
Property Value
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
public bool CanMoveToPreviousPage { get; }
Property Value
The value indicating whether can it is possible to move to the previous page.
Copies
Gets or sets the number of copies.
Declaration
public int? Copies { get; set; }
Property Value
int?
The number of copies.
CurrentPageNumberTextValue
Gets or sets the current page number text value.
Declaration
public string CurrentPageNumberTextValue { get; set; }
Property Value
The current page number text value.
FromPage
Gets or sets the number of the first page to be printed.
Declaration
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
public bool HasAnyPages { get; }
Property Value
The value indicating whether there are any pages.
IsIgnorePrintAreaEnabled
Gets or sets a value indicating whether the ignore print area option is enabled.
Declaration
public bool IsIgnorePrintAreaEnabled { get; set; }
Property Value
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
public bool IsMarginsDropDownOpened { get; set; }
Property Value
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
public bool IsPaperTypeDropDownOpened { get; set; }
Property Value
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
public bool IsScalingDropDownOpened { get; set; }
Property Value
The value indicating whether the scaling drop down is opened.
MarginsDropDownItems
Gets the margins drop down items.
Declaration
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
public ICommand MoveToNextPageCommand { get; set; }
Property Value
The move to next page command.
MoveToPreviousPageCommand
Gets or sets the move to previous page command.
Declaration
public ICommand MoveToPreviousPageCommand { get; set; }
Property Value
The move to previous page command.
PageOrientationDropDownItems
Gets the page orientation drop down items.
Declaration
public ObservableCollection<PageOrientationDropDownItemModel> PageOrientationDropDownItems { get; }
Property Value
ObservableCollection<PageOrientationDropDownItemModel>
The page orientation drop down items.
PagesCount
Gets the pages count.
PaperTypeDropDownItems
Gets the paper type drop down items.
Declaration
public ObservableCollection<PaperTypeDropDownItemModel> PaperTypeDropDownItems { get; }
Property Value
ObservableCollection<PaperTypeDropDownItemModel>
The paper type drop down items.
PrintCollatedDropDownItems
Gets the print collated drop down items.
Declaration
public ObservableCollection<PrintCollatedDropDownItemModel> PrintCollatedDropDownItems { get; }
Property Value
ObservableCollection<PrintCollatedDropDownItemModel>
The print collated drop down items.
PrintCommand
Gets or sets the print command.
Declaration
public ICommand PrintCommand { get; set; }
Property Value
The print command.
PrintWhatDropDownItems
Gets the print what drop down items.
Declaration
public ObservableCollection<PrintWhatDropDownItemModel> PrintWhatDropDownItems { get; }
Property Value
ObservableCollection<PrintWhatDropDownItemModel>
The print what drop down items.
PrintWhatSettings
Gets or sets the print what settings.
Declaration
public PrintWhatSettings PrintWhatSettings { get; set; }
Property Value
The print what settings.
ScalingTypeDropDownItems
Gets the scaling type drop down items.
Declaration
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
public ICommand SelectIgnorePrintAreaCommand { get; set; }
Property Value
The select ignore print area command.
SelectedMarginsModel
Gets the selected margins model.
Declaration
public PageMarginsDropDownItemModel SelectedMarginsModel { get; }
Property Value
The selected margins model.
SelectedPageOrientationModel
Gets the selected page orientation model.
Declaration
public PageOrientationDropDownItemModel SelectedPageOrientationModel { get; }
Property Value
PageOrientationDropDownItemModel
The selected page orientation model.
SelectedPaperTypeModel
Gets the selected paper type model.
Declaration
public PaperTypeDropDownItemModel SelectedPaperTypeModel { get; }
Property Value
The selected paper type model.
SelectedPrintCollatedModel
Gets the selected print collated model.
Declaration
public PrintCollatedDropDownItemModel SelectedPrintCollatedModel { get; }
Property Value
PrintCollatedDropDownItemModel
The selected print collated model.
SelectedPrintWhatModel
Gets the selected print what model.
Declaration
public PrintWhatDropDownItemModel SelectedPrintWhatModel { get; }
Property Value
The selected print what model.
SelectedScalingTypeDropDownModel
Gets the selected scaling type drop down model.
Declaration
public ScalingTypeDropDownItemModel SelectedScalingTypeDropDownModel { get; }
Property Value
The selected scaling type drop down model.
ShowPageSetupDialogMarginsTabCommand
Gets or sets the show page setup dialog margins tab command.
Declaration
public ICommand ShowPageSetupDialogMarginsTabCommand { get; set; }
Property Value
The show page setup dialog margins tab command.
ShowPageSetupDialogPageTabCommand
Gets or sets the show page setup dialog page tab command.
Declaration
public ICommand ShowPageSetupDialogPageTabCommand { get; set; }
Property Value
The show page setup dialog page tab command.