skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class PrintPreviewViewModel

Represents the print preview view model.

Inheritance
System.Object
NotifyPropertyChangedBase
PrintPreviewViewModel
Inherited Members
NotifyPropertyChangedBase.OnPropertyChanged(String)
NotifyPropertyChangedBase.OnPropertyChanged(PropertyChangedEventArgs)
NotifyPropertyChangedBase.PropertyChanged
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinForms.Controls.Spreadsheet.Controls
Assembly: Telerik.WinControls.RadSpreadsheet.dll

Syntax

public class PrintPreviewViewModel : NotifyPropertyChangedBase, INotifyPropertyChanged

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 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 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; set; }
Property Value
PageMarginsDropDownItemModel

The selected margins model.

SelectedPageOrientationModel

Gets the selected page orientation model.

Declaration
public PageOrientationDropDownItemModel SelectedPageOrientationModel { get; set; }
Property Value
PageOrientationDropDownItemModel

The selected page orientation model.

SelectedPaperTypeModel

Gets the selected paper type model.

Declaration
public PaperTypeDropDownItemModel SelectedPaperTypeModel { get; set; }
Property Value
PaperTypeDropDownItemModel

The selected paper type model.

SelectedPrintCollatedModel

Gets the selected print collated model.

Declaration
public PrintCollatedDropDownItemModel SelectedPrintCollatedModel { get; set; }
Property Value
PrintCollatedDropDownItemModel

The selected print collated model.

SelectedPrintWhatModel

Gets the selected print what model.

Declaration
public PrintWhatDropDownItemModel SelectedPrintWhatModel { get; set; }
Property Value
PrintWhatDropDownItemModel

The selected print what model.

SelectedScalingTypeDropDownModel

Gets the selected scaling type drop down model.

Declaration
public ScalingTypeDropDownItemModel SelectedScalingTypeDropDownModel { get; set; }
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 int? ToPage { get; set; }
Property Value
System.Nullable<System.Int32>

The number of the last page to be printed.

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.