WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridPrintDialog

    Show / Hide Table of Contents

    Class GridPrintDialog

    Implements a print dialog for the grid. It defines the designer for the Print dialog and exposes a number of properties and APIs to handle the UI requirements and define the interaction logic for the Print Dialog. The users can use these properties to configure the Print and Print Preview options.

    Inheritance
    System.Object
    ChromelessWindow
    GridPrintDialog
    Implements
    System.Windows.Markup.IComponentConnector
    Inherited Members
    ChromelessWindow.CloseWindow
    ChromelessWindow.ToggleMaximizedState
    ChromelessWindow.ToggleMinimizedState
    ChromelessWindow.TitleTextAlignmentProperty
    ChromelessWindow.IconAlignmentProperty
    ChromelessWindow.ResizeGripStyleProperty
    ChromelessWindow.ShowMaximizeButtonProperty
    ChromelessWindow.ShowMinimizeButtonProperty
    ChromelessWindow.UseNativeChromeProperty
    ChromelessWindow.TitleBarTemplateProperty
    ChromelessWindow.MaximizeButtonTemplateProperty
    ChromelessWindow.MinimizeButtonTemplateProperty
    ChromelessWindow.RestoreButtonTemplateProperty
    ChromelessWindow.CloseButtonTemplateProperty
    ChromelessWindow.LeftHeaderItemsSourceProperty
    ChromelessWindow.RightHeaderItemsSourceProperty
    ChromelessWindow.LeftHeaderItemTemplateProperty
    ChromelessWindow.RightHeaderItemTemplateProperty
    ChromelessWindow.ResizeBorderBrushProperty
    ChromelessWindow.TitleBarBackgroundProperty
    ChromelessWindow.TitleBarHeightProperty
    ChromelessWindow.TitleFontSizeProperty
    ChromelessWindow.TitleBarForegroundProperty
    ChromelessWindow.NavigationBarBackgroundProperty
    ChromelessWindow.WindowContentAreaBorderBrushProperty
    ChromelessWindow.ResizeBorderThicknessProperty
    ChromelessWindow.WindowCornerRadiusProperty
    ChromelessWindow.CornerRadiusProperty
    ChromelessWindow.ShowIconProperty
    ChromelessWindow.ShowTitleProperty
    ChromelessWindow.HideTaskBarProperty
    ChromelessWindow.OnIsGlassActiveChanged(DependencyPropertyChangedEventArgs)
    ChromelessWindow.SystemButtonsUpdate()
    ChromelessWindow.OnMouseUp(MouseButtonEventArgs)
    ChromelessWindow.OnMouseLeftButtonUp(MouseButtonEventArgs)
    ChromelessWindow.OnMouseDown(MouseButtonEventArgs)
    ChromelessWindow.OnApplyTemplate()
    ChromelessWindow.OnSourceInitialized(EventArgs)
    ChromelessWindow.OnPropertyChanged(DependencyPropertyChangedEventArgs)
    ChromelessWindow.ArrangeOverride(Size)
    ChromelessWindow.MeasureOverride(Size)
    ChromelessWindow.OnPreviewMouseLeftButtonUp(MouseButtonEventArgs)
    ChromelessWindow.OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)
    ChromelessWindow.OnMouseMove(MouseEventArgs)
    ChromelessWindow.OnPreviewMouseMove(MouseEventArgs)
    ChromelessWindow.ResizeBorderBrush
    ChromelessWindow.TitleBarBackground
    ChromelessWindow.TitleBarHeight
    ChromelessWindow.TitleFontSize
    ChromelessWindow.TitleBarForeground
    ChromelessWindow.NavigationBarBackground
    ChromelessWindow.WindowContentAreaBorderBrush
    ChromelessWindow.ResizeBorderThickness
    ChromelessWindow.TitleBarTemplate
    ChromelessWindow.MaximizeButtonTemplate
    ChromelessWindow.MinimizeButtonTemplate
    ChromelessWindow.RestoreButtonTemplate
    ChromelessWindow.CloseButtonTemplate
    ChromelessWindow.TitleBar
    ChromelessWindow.TitleTextAlignment
    ChromelessWindow.IconAlignment
    ChromelessWindow.CornerRadius
    ChromelessWindow.ShowIcon
    ChromelessWindow.ShowTitle
    ChromelessWindow.LeftHeaderItemsSource
    ChromelessWindow.RightHeaderItemsSource
    ChromelessWindow.LeftHeaderItemTemplate
    ChromelessWindow.RightHeaderItemTemplate
    ChromelessWindow.ResizeGripStyle
    ChromelessWindow.UseNativeChrome
    ChromelessWindow.ShowMaximizeButton
    ChromelessWindow.ShowMinimizeButton
    ChromelessWindow.HideTaskBar
    ChromelessWindow.IsGlassActiveChanged
    ChromelessWindow.ReSizeGripMouseEvent
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public class GridPrintDialog : ChromelessWindow, IComponentConnector

    Constructors

    GridPrintDialog(GridControlBase)

    Initializes a new GridPrintDialog.

    Declaration
    public GridPrintDialog(GridControlBase gridControlBase)
    Parameters
    Type Name Description
    GridControlBase gridControlBase

    The parent grid.

    Fields

    CurrentPageProperty

    Declaration
    public static readonly DependencyProperty CurrentPageProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    PrintDataColumnNamesProperty

    Declaration
    public static readonly DependencyProperty PrintDataColumnNamesProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ScalingOptionsProperty

    Declaration
    public static readonly DependencyProperty ScalingOptionsProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    CanMoveFirst

    Specifies whether it is possible to navigate to the first page.

    Declaration
    public bool CanMoveFirst { get; }
    Property Value
    Type Description
    System.Boolean

    CanMoveLast

    Specifies whether it is possible to navigate to the last page.

    Declaration
    public bool CanMoveLast { get; }
    Property Value
    Type Description
    System.Boolean

    CanMoveNext

    Specifies whether it is possible to navigate to the next page.

    Declaration
    public bool CanMoveNext { get; }
    Property Value
    Type Description
    System.Boolean

    CanMovePrevious

    Specifies whether it is possible to navigate to the previous page.

    Declaration
    public bool CanMovePrevious { get; }
    Property Value
    Type Description
    System.Boolean

    CurrentOutputColor

    Gets or sets the print color.

    Declaration
    public OutputColor CurrentOutputColor { get; set; }
    Property Value
    Type Description
    System.Printing.OutputColor

    CurrentPage

    Gets or sets the current printing page.

    Declaration
    public int CurrentPage { get; set; }
    Property Value
    Type Description
    System.Int32

    CurrentPageMediaSize

    Gets or sets the page size of the print media (eg. paper size).

    Declaration
    public PageMediaSizeName CurrentPageMediaSize { get; set; }
    Property Value
    Type Description
    System.Printing.PageMediaSizeName

    CurrentZoomFactor

    Gets or sets the zoom factor for print preview.

    Declaration
    public object CurrentZoomFactor { get; set; }
    Property Value
    Type Description
    System.Object

    PrintDataColumnNames

    Get or set the names of columns to be printed

    Declaration
    public StringCollection PrintDataColumnNames { get; set; }
    Property Value
    Type Description
    System.Collections.Specialized.StringCollection

    PrintSize

    Gets or sets the size of the content to be printed.

    Declaration
    public Size PrintSize { get; set; }
    Property Value
    Type Description
    System.Windows.Size

    ScalingOptions

    Get or set the names of columns to be printed

    Declaration
    public ScalingOptions ScalingOptions { get; set; }
    Property Value
    Type Description
    ScalingOptions

    Methods

    ApplyTheme()

    Declaration
    protected virtual void ApplyTheme()

    InitializeComponent()

    InitializeComponent

    Declaration
    public void InitializeComponent()

    Implements

    System.Windows.Markup.IComponentConnector
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved