Class NumericButtonPanel
Represents a container that holds the NumericButton views in a SfDataPager.
Inheritance
Namespace: Syncfusion.SfDataGrid.DataPager
Assembly: Syncfusion.SfDataGrid.Android.dll
Syntax
public class NumericButtonPanel : LinearLayout
Constructors
NumericButtonPanel(Context)
Initializes a new instance of the NumericButtonPanel class.
Declaration
public NumericButtonPanel(Context context)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | The Android.Content.Context. |
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
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. |
OnLayout(Boolean, Int32, Int32, Int32, Int32)
Positions and sizes the content of a numeric button panel.
Declaration
protected override void OnLayout(bool changed, int left, int top, int right, int bottom)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | changed | True if the size of the view is changed, otherwise false. |
System.Int32 | left | A value that represents the x coordinate of the child. |
System.Int32 | top | A value that represents the y coordinate of the child. |
System.Int32 | right | A value that represents the width of the child. |
System.Int32 | bottom | A value that represents the height of the child. |
OnMeasure(Int32, Int32)
Raises the measure event.
Declaration
protected override void OnMeasure(int widthMeasureSpec, int heightMeasureSpec)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | widthMeasureSpec | Width measure spec. |
System.Int32 | heightMeasureSpec | Height measure spec. |
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. |