Class PageSettings
Represents to customize the appearance, width, and height of the Diagram page.
Inheritance
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.UWP.dll
Syntax
public class PageSettings : Object, IPageSettings, INotifyPropertyChanged, ISharedData, IDisposable
Constructors
PageSettings()
Initializes a new instance of the PageSettings class.
Declaration
public PageSettings()
Properties
AutoScrollBorder
Gets or sets the maximum distance to be left between the object and the scroll bar to trigger Auto Scrolling.
Declaration
public Thickness AutoScrollBorder { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Thickness |
Info
Gets or sets the info of the pagesettings.
Declaration
public IPageInfo Info { get; set; }
Property Value
Type |
---|
IPageInfo |
MaximumPrintScale
Gets or sets the maximum print scale of a diagram.
Declaration
public double MaximumPrintScale { get; set; }
Property Value
Type |
---|
System.Double |
MaximumScrollableArea
Gets or sets the maximum scrollable area of diagram.
Declaration
public Nullable<Point> MaximumScrollableArea { get; set; }
Property Value
Type |
---|
System.Nullable<Windows.Foundation.Point> |
MinimumPrintScale
Gets or sets the minimum print scale of a diagram.
Declaration
public double MinimumPrintScale { get; set; }
Property Value
Type |
---|
System.Double |
MinimumScrollableArea
Gets or sets the minimum scrollable area of diagram.
Declaration
public Nullable<Point> MinimumScrollableArea { get; set; }
Property Value
Type |
---|
System.Nullable<Windows.Foundation.Point> |
MultiplePage
Gets or sets a value indicates whether the multiple page is enable. Its can be created to fit all Nodes and Connectors.
Declaration
public bool MultiplePage { get; set; }
Property Value
Type |
---|
System.Boolean |
OffPageMaxMargin
Gets or sets the offpage maximum margin of the pagesettings.
Declaration
public Nullable<Thickness> OffPageMaxMargin { get; set; }
Property Value
Type |
---|
System.Nullable<Windows.UI.Xaml.Thickness> |
OffPageMinMargin
Gets or sets the offpage minimum margin of the pagesettings.
Declaration
public Nullable<Thickness> OffPageMinMargin { get; set; }
Property Value
Type |
---|
System.Nullable<Windows.UI.Xaml.Thickness> |
PageBackground
Gets or sets the background color of diagram pages.
Declaration
public Brush PageBackground { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.Brush |
PageBorderBrush
Gets or sets the page border color.
Declaration
public Brush PageBorderBrush { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.Brush |
PageBorderThickness
Gets or sets the border thickness of diagram pages.
Declaration
public Nullable<Thickness> PageBorderThickness { get; set; }
Property Value
Type |
---|
System.Nullable<Windows.UI.Xaml.Thickness> |
PageHeight
Gets or sets the height of a diagram Page.
Declaration
public double PageHeight { get; set; }
Property Value
Type |
---|
System.Double |
PageOrientation
Gets or sets the value that represents the portrait or landscape.
Declaration
public PageOrientation PageOrientation { get; set; }
Property Value
Type |
---|
PageOrientation |
PageWidth
Gets or sets the width of a diagram page.
Declaration
public double PageWidth { get; set; }
Property Value
Type |
---|
System.Double |
PrintMargin
Gets or sets the printmargin of the pagesettings.
Declaration
public Thickness PrintMargin { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Thickness |
PrintScale
Gets or sets the print scale of a diagram.
Declaration
public double PrintScale { get; set; }
Property Value
Type |
---|
System.Double |
ScrollableArea
Gets or sets the scrollable area of diagram. Applicable, if the scroll limit is “limited”.
Declaration
public Rect ScrollableArea { get; set; }
Property Value
Type |
---|
Windows.Foundation.Rect |
ScrollLimit
Gets or sets the scrollable region of Diagram.
Declaration
public ScrollLimit ScrollLimit { get; set; }
Property Value
Type |
---|
ScrollLimit |
ShowPageBreaks
Gets or sets a value indicates whether the page break is enable.
Declaration
public bool ShowPageBreaks { get; set; }
Property Value
Type |
---|
System.Boolean |
Unit
Gets or sets the Unit of the pagesettings.
Declaration
public MeasurementUnit Unit { get; set; }
Property Value
Type |
---|
MeasurementUnit |
Methods
AdjustPageOrigin()
Provided virtual method to customize the Origin of the Page based on Pixels and PageSize.
Declaration
public virtual void AdjustPageOrigin()
OnPropertyChanged(String)
Invoked whenever the effective value of any dependency property on this FrameworkElement has been updated. The specific dependency property that changed is reported in the arguments parameter. Overrides OnPropertyChanged(name).
Declaration
protected virtual void OnPropertyChanged(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |