Class NumericButtonPanel
Represents a container that holds the NumericButton views in a SfDataPager.
Inheritance
Namespace: Syncfusion.SfDataGrid.DataPager
Assembly: Syncfusion.SfDataGrid.iOS.dll
Syntax
public class NumericButtonPanel : UIView
Constructors
NumericButtonPanel()
Initializes a new instance of the NumericButtonPanel class.
Declaration
public NumericButtonPanel()
NumericButtonPanel(CGRect)
Initializes a new instance of the NumericButtonPanel class.
Declaration
public NumericButtonPanel(CGRect rect)
Parameters
Type | Name | Description |
---|---|---|
CoreGraphics.CGRect | rect | The CoreGraphics.CGRect. |
NumericButtonPanel(IntPtr)
Initializes a new instance of the NumericButtonPanel class.
Declaration
public NumericButtonPanel(IntPtr ptr)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | ptr | The System.IntPtr. |
Fields
ExtentHeight
Gets the extent height of the numeric button panel.
Declaration
public double ExtentHeight
Field Value
Type |
---|
System.Double |
ExtentWidth
Gets the extent width of the numeric button panel.
Declaration
public double ExtentWidth
Field Value
Type |
---|
System.Double |
PreviousHeight
Gets the previous height of the numeric button panel.
Declaration
public double PreviousHeight
Field Value
Type |
---|
System.Double |
PreviousWidth
Gets the previous width of the numeric button panel.
Declaration
public double PreviousWidth
Field Value
Type |
---|
System.Double |
Properties
CanHorizontallyScroll
Gets or sets a value indicating whether the NumericButtonPanel can be scrolled horizontally or not.
Declaration
public bool CanHorizontallyScroll { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A boolean value indicating whether the NumericButtonPanel can be scrolled horizontally or not. |
CanVerticallyScroll
Gets or sets a value indicating whether the NumericButtonPanel can be scrolled vertically or not.
Declaration
public bool CanVerticallyScroll { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A boolean value indicating whether the NumericButtonPanel can be scrolled vertically or not. |
DataPager
Gets the reference of the SfDataPager control.
Declaration
public SfDataPager DataPager { get; }
Property Value
Type | Description |
---|---|
SfDataPager | The reference of the SfDataPager control. |
HorizontalOffset
Gets the horizontal offset of the SfDataPager.
Declaration
public double HorizontalOffset { get; }
Property Value
Type | Description |
---|---|
System.Double | The horizontal offset of the SfDataPager. |
VerticalOffset
Gets the vertical offset of the SfDataPager.
Declaration
public double VerticalOffset { get; }
Property Value
Type | Description |
---|---|
System.Double | The vertical offset of the SfDataPager. |
Methods
AwakeFromNib()
Called after the object has loaded from the Nib file.
Declaration
public override void AwakeFromNib()
Dispose(Boolean)
Releases the unmanaged resources used by the component and optionally releases the managed resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | if true - release both managed and unmanaged resources; if false - release only unmanaged resources. |
LayoutSubviews()
Layouts the children in the view.
Declaration
public override void LayoutSubviews()
SetHorizontalOffset(Double)
Sets the horizontal offset programmatically.
Declaration
public void SetHorizontalOffset(double offset)
Parameters
Type | Name | Description |
---|---|---|
System.Double | offset | The value indicating the offset. |
SetVerticalOffset(Double)
Sets the vertical offset programmatically.
Declaration
public void SetVerticalOffset(double offset)
Parameters
Type | Name | Description |
---|---|---|
System.Double | offset | The value indicating the offset. |