WinUI

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

    Show / Hide Table of Contents

    Class DataGridPrintPageControl

    Represents a control that contains the DataGridPrintPagePanel to display the SfDataGrid within the page panel.

    Inheritance
    System.Object
    DataGridPrintPageControl
    Implements
    System.IDisposable
    System.ComponentModel.INotifyPropertyChanged
    Namespace: Syncfusion.UI.Xaml.DataGrid.Print
    Assembly: Syncfusion.Grid.WinUI.dll
    Syntax
    public class DataGridPrintPageControl : ContentControl, IDisposable, INotifyPropertyChanged

    Constructors

    DataGridPrintPageControl(DataGridPrintManager)

    Initializes a new instance of DataGridPrintPageControl class.

    Declaration
    public DataGridPrintPageControl(DataGridPrintManager printManagerBase)
    Parameters
    Type Name Description
    DataGridPrintManager printManagerBase

    Specifies print related operations to initialize print page control.

    Properties

    PageIndex

    Gets the index of the page.

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

    TotalPages

    Gets the total number of pages that the document contains.

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

    Methods

    Dispose()

    Releases all the resources used by the DataGridPrintPageControl class.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Disposes all the resources used by the DataGridPrintPageControl class.

    Declaration
    protected virtual void Dispose(bool isDisposing)
    Parameters
    Type Name Description
    System.Boolean isDisposing

    Indicates whether the call is from Dispose method or from a finalizer.

    OnApplyTemplate()

    Builds the visual tree for the print page control when a new template is applied.

    Declaration
    protected override void OnApplyTemplate()

    Events

    PropertyChanged

    Occurs when a property value changes in DataGridPrintPageControl class.

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    System.IDisposable
    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved