Class LoadMoreView
Represents a customized view that loads new data items in runtime.
Inheritance
Namespace: Syncfusion.SfDataGrid
Assembly: Syncfusion.SfDataGrid.Android.dll
Syntax
public class LoadMoreView : LinearLayout
Remarks
A LoadMoreView represents a customized view that is loaded either at the top or bottom based on the LoadMorePosition property.
LoadMore option can be enabled in a SfDataGrid control, by setting the AllowLoadMore property to true and by setting the LoadMoreCommand property. When the LoadMore is enabled, the SfDataGrid provides an option to load a subset of data to its data source in the runtime using the LoadMoreCommand.
Constructors
LoadMoreView(Context, IAttributeSet, Int32)
Initializes a new instance of the LoadMoreView class.
Declaration
public LoadMoreView(Context context, IAttributeSet attributeSet, int definedStyle)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | The Android.Content.Context. |
Android.Util.IAttributeSet | attributeSet | The Android.Util.IAttributeSet. |
System.Int32 | definedStyle | The value indicating the def style. |
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. |
InitLoadMore(Context, IAttributeSet, Int32)
Initializes the load more view with the given references.
Declaration
protected virtual void InitLoadMore(Context context, IAttributeSet attributeSet, int definedStyle)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | The Android.Content.Context. |
Android.Util.IAttributeSet | attributeSet | The Android.Util.IAttributeSet. |
System.Int32 | definedStyle | The value indicating the def style. |
OnLayout(Boolean, Int32, Int32, Int32, Int32)
Positions and sizes the content of the load more view.
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. |
UpdateLoadMoreStyle(DataGridStyle)
Updates the load more style
Declaration
protected virtual void UpdateLoadMoreStyle(DataGridStyle style)
Parameters
Type | Name | Description |
---|---|---|
DataGridStyle | style | DataGridStyle instance |