Class VirtualizingCellsControl
Represents a record row in a SfDataGrid control.
Inheritance
Namespace: Syncfusion.SfDataGrid
Assembly: Syncfusion.SfDataGrid.iOS.dll
Syntax
public class VirtualizingCellsControl : UIView
Constructors
VirtualizingCellsControl()
Initializes a new instance of the VirtualizingCellsControl class.
Declaration
public VirtualizingCellsControl()
VirtualizingCellsControl(CGRect)
Initializes a new instance of the VirtualizingCellsControl class.
Declaration
public VirtualizingCellsControl(CGRect rect)
Parameters
Type | Name | Description |
---|---|---|
CoreGraphics.CGRect | rect | The CoreGraphics.CGRect. |
VirtualizingCellsControl(IntPtr)
Initializes a new instance of the VirtualizingCellsControl class.
Declaration
public VirtualizingCellsControl(IntPtr ptr)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | ptr | The System.IntPtr. |
Properties
ClipRect
Gets or sets the clip value of the record row.
Declaration
public CGRect ClipRect { get; set; }
Property Value
Type | Description |
---|---|
CoreGraphics.CGRect | The clip value of the record row. |
DataContext
Gets or sets the data context of the record row.
Declaration
public object DataContext { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The data context of the record row. |
DataGrid
Gets the instance of the SfDataGrid control.
Declaration
public SfDataGrid DataGrid { get; }
Property Value
Type | Description |
---|---|
SfDataGrid | The instance of the SfDataGrid control. |
IsSwipeCancelled
Gets or sets a value indicating whether to cancel swipe or not.
Declaration
public virtual bool IsSwipeCancelled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | True if the swipe is canceled, otherwise false. |
SelectionPaint
Gets or sets the selection paint of the VirtualizingCellsControl.
Declaration
public UIColor SelectionPaint { get; set; }
Property Value
Type |
---|
UIKit.UIColor |
SwipeDirection
Gets or sets the direction of the swiping in the row.
Declaration
public SwipeDirection SwipeDirection { get; set; }
Property Value
Type | Description |
---|---|
SwipeDirection | The SwipeDirection in the row. |
SwipeOffset
Gets or sets the current offset of the row.
Declaration
public int SwipeOffset { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The current offset of the row. |
Methods
ApplySwipeClip()
This method applies the swipe clip value to the record row.
Declaration
public void ApplySwipeClip()
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. |
Draw(CGRect)
Draws the view within the passed-in rectangle.
Declaration
public override void Draw(CGRect rect)
Parameters
Type | Name | Description |
---|---|---|
CoreGraphics.CGRect | rect | The CoreGraphics.CGRect in which the view should be drawn. |
GetColumnElementClipValue(CGRect, VisibleLineInfo, IColumnElement, Int32, Double, nfloat, nfloat, Double)
Gets the clip value of the column element.
Declaration
protected virtual void GetColumnElementClipValue(CGRect rect, VisibleLineInfo line, IColumnElement column, int isHeader, double lineSize, nfloat bottom, nfloat top, double clippedWidth)
Parameters
Type | Name | Description |
---|---|---|
CoreGraphics.CGRect | rect | The CoreGraphics.CGRect of the column element. |
VisibleLineInfo | line | The visible line info of the column element. |
Syncfusion.SfDataGrid.IColumnElement | column | The column element. |
System.Int32 | isHeader | A value indicating whether the element is a header. |
System.Double | lineSize | The line size of the column. |
System.nfloat | bottom | The bottom bounds of the column element. |
System.nfloat | top | The top bounds of the column element. |
System.Double | clippedWidth | The clipped width value. |
LayoutSubviews()
Layout the children in the view.
Declaration
public override void LayoutSubviews()
TouchesBegan(NSSet, UIEvent)
This method arises when the touches begin.
Declaration
public override void TouchesBegan(NSSet touches, UIEvent evt)
Parameters
Type | Name | Description |
---|---|---|
Foundation.NSSet | touches | The Foundation.NSSet representing the touches. |
UIKit.UIEvent | evt | The UIKit.UIEvent which consists of the touch events. |
TouchesCancelled(NSSet, UIEvent)
This method arises when the touch processing has been canceled.
Declaration
public override void TouchesCancelled(NSSet touches, UIEvent evt)
Parameters
Type | Name | Description |
---|---|---|
Foundation.NSSet | touches | Set containing the touches as objects of type UIKit.UITouch. |
UIKit.UIEvent | evt | The UIKit.UIEvent that encapsulates all of the touches and the event information. This parameter can be null. |
TouchesEnded(NSSet, UIEvent)
This method raises when one or more fingers are lifted from the screen.
Declaration
public override void TouchesEnded(NSSet touches, UIEvent evt)
Parameters
Type | Name | Description |
---|---|---|
Foundation.NSSet | touches | Set containing the touches as objects of type UIKit.UITouch. |
UIKit.UIEvent | evt | The UIKit.UIEvent that encapsulates all of the touches and the event information. This parameter can be null. |
TouchesMoved(NSSet, UIEvent)
This method arises when one or more fingers move on the screen.
Declaration
public override void TouchesMoved(NSSet touches, UIEvent evt)
Parameters
Type | Name | Description |
---|---|---|
Foundation.NSSet | touches | Set containing the touches as objects of type UIKit.UITouch. |
UIKit.UIEvent | evt | The UIKit.UIEvent that encapsulates all of the touches and the event information. This parameter can be null. |