Class PrintPageControl
Represents a control that contains the PrintPagePanel to display the SfDataGrid with in the page panel.
Inheritance
System.Object
PrintPageControl
Implements
System.IDisposable
System.ComponentModel.INotifyPropertyChanged
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class PrintPageControl : ContentControl, IDisposable, INotifyPropertyChanged
Constructors
PrintPageControl(PrintManagerBase)
Initializes a new instance of PrintPageControl class.
Declaration
public PrintPageControl(PrintManagerBase printManagerBase)
Parameters
Type | Name | Description |
---|---|---|
PrintManagerBase | 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 |
---|
System.Int32 |
TotalPages
Gets the total number of pages that the document contains.
Declaration
public int TotalPages { get; }
Property Value
Type |
---|
System.Int32 |
Methods
Dispose()
Releases all the resources used by the PrintPageControl class.
Declaration
public void Dispose()
Dispose(Boolean)
Disposes all the resources used by the PrintPageControl 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 PrintPageControl class.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.IDisposable
System.ComponentModel.INotifyPropertyChanged