Class PrintPreviewViewModel
Represents the print preview view model.
Inheritance
Namespace: Telerik.Windows.Controls.Spreadsheet.Controls
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class PrintPreviewViewModel : NotifyPropertyChangedBase
Properties
CanMoveToNextPage
Gets a value indicating whether it is possible to move to the next page.
Declaration
public bool CanMoveToNextPage { get; }
Property Value
System.Boolean
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
System.Boolean
The value indicating whether can it is possible to move to the previous page. |
Copies
Gets or sets the number of copies.
Declaration
public Nullable<int> Copies { get; set; }
Property Value
System.Nullable<System.Int32>
The number of copies. |
CurrentPageNumberTextValue
Gets or sets the current page number text value.
Declaration
public string CurrentPageNumberTextValue { get; set; }
Property Value
System.String
The current page number text value. |
FromPage
Gets or sets the number of the first page to be printed.
Declaration
public Nullable<int> FromPage { get; set; }
Property Value
System.Nullable<System.Int32>
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
System.Boolean
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
System.Boolean
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
System.Boolean
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
System.Boolean
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
System.Boolean
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
System.Collections.ObjectModel.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
System.Windows.Input.ICommand
The move to next page command. |
MoveToPreviousPageCommand
Gets or sets the move to previous page command.
Declaration
public ICommand MoveToPreviousPageCommand { get; set; }
Property Value
System.Windows.Input.ICommand
The move to previous page command. |
PageOrientationDropDownItems
Gets the page orientation drop down items.
Declaration
public ObservableCollection<PageOrientationDropDownItemModel> PageOrientationDropDownItems { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<PageOrientationDropDownItemModel>
The page orientation drop down items. |
PagesCount
Gets the pages count.
Declaration
public int PagesCount { get; }
Property Value
System.Int32
The pages count. |
PaperTypeDropDownItems
Gets the paper type drop down items.
Declaration
public ObservableCollection<PaperTypeDropDownItemModel> PaperTypeDropDownItems { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<PaperTypeDropDownItemModel>
The paper type drop down items. |
PrintCollatedDropDownItems
Gets the print collated drop down items.
Declaration
public ObservableCollection<PrintCollatedDropDownItemModel> PrintCollatedDropDownItems { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<PrintCollatedDropDownItemModel>
The print collated drop down items. |
PrintCommand
Gets or sets the print command.
Declaration
public ICommand PrintCommand { get; set; }
Property Value
System.Windows.Input.ICommand
The print command. |
PrintWhatDropDownItems
Gets the print what drop down items.
Declaration
public ObservableCollection<PrintWhatDropDownItemModel> PrintWhatDropDownItems { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<PrintWhatDropDownItemModel>
The print what drop down items. |
PrintWhatSettings
Gets or sets the print what settings.
Declaration
public PrintWhatSettings PrintWhatSettings { get; set; }
Property Value
PrintWhatSettings
The print what settings. |
ScalingTypeDropDownItems
Gets the scaling type drop down items.
Declaration
public ObservableCollection<ScalingTypeDropDownItemModel> ScalingTypeDropDownItems { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<ScalingTypeDropDownItemModel>
The scaling type drop down items. |
SelectedMarginsModel
Gets the selected margins model.
Declaration
public PageMarginsDropDownItemModel SelectedMarginsModel { get; }
Property Value
PageMarginsDropDownItemModel
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
PaperTypeDropDownItemModel
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
PrintWhatDropDownItemModel
The selected print what model. |
SelectedScalingTypeDropDownModel
Gets the selected scaling type drop down model.
Declaration
public ScalingTypeDropDownItemModel SelectedScalingTypeDropDownModel { get; }
Property Value
ScalingTypeDropDownItemModel
The selected scaling type drop down model. |
SelectIgnorePrintAreaCommand
Gets or sets the select ignore print area command.
Declaration
public ICommand SelectIgnorePrintAreaCommand { get; set; }
Property Value
System.Windows.Input.ICommand
The select ignore print area command. |
ShowPageSetupDialogMarginsTabCommand
Gets or sets the show page setup dialog margins tab command.
Declaration
public ICommand ShowPageSetupDialogMarginsTabCommand { get; set; }
Property Value
System.Windows.Input.ICommand
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
System.Windows.Input.ICommand
The show page setup dialog page tab command. |
ToPage
Gets or sets the number of the last page to be printed.
Declaration
public Nullable<int> ToPage { get; set; }
Property Value
System.Nullable<System.Int32>
The number of the last page to be printed. |