Class RowHeightManager
Represents a class that manages the row heights operation in SfDataGrid control.
Inheritance
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class RowHeightManager : Object
Constructors
RowHeightManager()
Initializes a new instance of RowHeightManager class.
Declaration
public RowHeightManager()
Methods
Contains(Int32, RowRegion)
Determines whether the particular index is contained in specified region.
Declaration
public bool Contains(int index, RowRegion region)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The corresponding index to check whether it is contained in specified region. |
RowRegion | region | The corresponding region. |
Returns
Type | Description |
---|---|
System.Boolean | Returns true if the index is present in specified region; otherwise, false. |
Reset()
Marks the row heights of all rows in a view as dirty.
Declaration
public void Reset()
ResetBody()
Marks the row heights of the body region as dirty, to refresh the row height when the grouping, sorting and the view is updated.
Declaration
public void ResetBody()
ResetFooter()
Marks the row heights of the footer region as dirty, to refresh the row height.
Declaration
public void ResetFooter()
SetDirty(Int32)
Mark the row height of the row index as dirty, when the row is invalidated at run time.
Declaration
public void SetDirty(int rowIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | index of the row |
UpdateBody(Int32, Int32, NotifyCollectionChangedAction)
Updates the rows in body region when the view is refreshed.
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 count. |
System.Collections.Specialized.NotifyCollectionChangedAction | action | The action that caused to update the body region. |
UpdateRegion(Int32, Int32, RowRegion)
Updates the region of rows for the specified start and end 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 that is to be updated. |