Class PrintPageControl
Represents a control that contains the PrintPageControl to display the page content with in the page panel.
Inheritance
System.Object
PrintPageControl
Implements
System.IDisposable
System.ComponentModel.INotifyPropertyChanged
Namespace: Syncfusion.Windows.Shared.Printing
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
public class PrintPageControl : ContentControl, IDisposable, INotifyPropertyChanged
Constructors
PrintPageControl(PrintManager)
Initializes a new instance of PrintPageControl class.
Declaration
public PrintPageControl(PrintManager printManager)
Parameters
Type | Name | Description |
---|---|---|
PrintManager | printManager | An instance of the PrintManager class . |
Properties
PageIndex
Gets or sets the index of the page.
Declaration
public int PageIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The value of current page index. |
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
public 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