Class PageSettings
Represents the page settings of the diagram.
Inheritance
Namespace: Syncfusion.SfDiagram.XForms
Assembly: Syncfusion.SfDiagram.XForms.dll
Syntax
public class PageSettings : BindableObject
Constructors
PageSettings()
Initializes a new instance of the PageSettings class.
Declaration
public PageSettings()
Fields
GridColorProperty
Represents the bindable property of GridColorProperty.
Declaration
public static readonly BindableProperty GridColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
GridSizeProperty
Represents the bindable property of GridSizeProperty.
Declaration
public static readonly BindableProperty GridSizeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
PageBackGrondProperty
Represents the bindable property of PageBackGrondProperty.
Declaration
public static readonly BindableProperty PageBackGrondProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
PageHeightProperty
Gets or sets the color. This is a bindable property.
Declaration
public static readonly BindableProperty PageHeightProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
PageWidthProperty
Gets or sets the color. This is a bindable property.
Declaration
public static readonly BindableProperty PageWidthProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ShowGridProperty
Represents the bindable property of ShowGridProperty.
Declaration
public static readonly BindableProperty ShowGridProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
SnapToGridProperty
Represents the bindable property of SnapToGridProperty.
Declaration
public static readonly BindableProperty SnapToGridProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ViewPortStartPositionProperty
Represents the bindable property of ViewPortStartPosition.
Declaration
public static readonly BindableProperty ViewPortStartPositionProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
GridColor
Gets or sets the grid line color of the page.
Declaration
public Color GridColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The grid line color of the page. |
GridSize
Gets or sets the grid box Width/Height.
Declaration
public float GridSize { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The grid box Width/Height. |
PageBackGround
Gets or sets the background color of the page.
Declaration
public Color PageBackGround { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The background color of the page. |
PageHeight
Gets or sets the height of the page.
Declaration
public double PageHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The height of the page. |
PageWidth
Gets or sets the width of the page.
Declaration
public double PageWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The width of the page. |
ShowGrid
Gets or sets a value indicating whether gets or sets to enable/disable the grid visiblity in page.
Declaration
public bool ShowGrid { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The grid visiblity in page. |
SnapToGrid
Gets or sets a value indicating whether enable/disable the sanp to grid page.
Declaration
public bool SnapToGrid { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Enable/disable the sanp to grid. |
ViewPortStartPosition
Gets or sets the view port start position for diagram SfDiagram page.
Declaration
public ViewPortStartPosition ViewPortStartPosition { get; set; }
Property Value
Type | Description |
---|---|
ViewPortStartPosition | The view port start position for diagram page. |
Remarks
The default value is Default. This property is applicable for Android and iOS. This property does not have effect on UWP, and it always starts at the origin.