Class RowHeightManager
Represents a class that manages the row heights in a SfDataGrid control.
Inheritance
Implements
Namespace: Syncfusion.SfDataGrid
Assembly: Syncfusion.SfDataGrid.iOS.dll
Syntax
public class RowHeightManager : Object, IDisposable
Constructors
RowHeightManager()
Initializes a new instance of the RowHeightManager class.
Declaration
public RowHeightManager()
Methods
Contains(Int32, RowRegion)
Method to check if the given row index is available in the given RowRegion.
Declaration
public bool Contains(int index, RowRegion region)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The row index to be found in the given row region. |
RowRegion | region | The row region in which the given row index is to be found. |
Returns
Type | Description |
---|---|
System.Boolean | A boolean value denoting whether the given index is available in the given row region. |
Dispose()
Releases the resources used by the component.
Declaration
public void Dispose()
Dispose(Boolean)
Releases the unmanaged resources used by the component and optionally releases the managed resources.
Declaration
protected virtual 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. |
Reset()
Resets the ranges of rows in a SfDataGrid control.
Declaration
public void Reset()
ResetBody()
Resets the body range in a SfDataGrid control.
Declaration
public void ResetBody()
ResetFooter()
Resets the footer range in a SfDataGrid control.
Declaration
public void ResetFooter()
SetDirty(Int32)
Sets the row at the given row index as dirty to refresh it in view.
Declaration
public void SetDirty(int rowIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | The row index to be refreshed. |
UpdateBody(Int32, Int32, NotifyCollectionChangedAction)
Updates the rows in the body region in a SfDataGrid control.
Declaration
public void UpdateBody(int index, int count, NotifyCollectionChangedAction action)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The Start index to update. |
System.Int32 | count | The number of items to be updated. |
System.Collections.Specialized.NotifyCollectionChangedAction | action | The collection changed action. |
UpdateRegion(Int32, Int32, RowRegion)
Updates the region of the rows in the given index.
Declaration
public void UpdateRegion(int start, int end, RowRegion region)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | start | The Start index to update. |
System.Int32 | end | The End index to update. |
RowRegion | region | The region to be updated. |