ShinobiControls Xamarin Bindings Documentation

ShinobiGrids : ShinobiGrids Namespace

SDataGridHeaderMultiLineCell Class

This cell type is used in a ShinobiDataGrid in order to populate the header row.

Syntax

[Foundation.Register("SDataGridHeaderMultiLineCell", true)]
public class SDataGridHeaderMultiLineCell : SDataGridMultiLineTextCell

Remarks

Each column has a header cell that can be retrieved with the HeaderCell method on an SDataGridHeaderColumn object.

This cell type cannot respond to edit events or double tap events by default. It is possible to change this behaviour via subclassing.

The implementation of Coordinate in this class returns null.

Requirements

Namespace: ShinobiGrids
Assembly: ShinobiGrids (in ShinobiGrids.dll)
Assembly Versions: 2.8.0.4

Members

See Also: Inherited members from SDataGridMultiLineTextCell.

Public Constructors

Protected Constructors

Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects.

Public Properties

[read-only]
override
ClassHandle IntPtr . The handle for this class.
[read-only]
override
ClassHandle IntPtr . The handle for this class. (Inherited from SDataGridMultiLineTextCell.)
[read-only]
override
ClassHandle IntPtr . The handle for this class. (Inherited from SDataGridTextInputCell.)
[read-only]
override
ClassHandle IntPtr . The handle for this class. (Inherited from SDataGridCell.)
[read-only]
ContentFrame CoreGraphics.CGRect . A readonly frame which represents the area available for content of the cell. (Inherited from SDataGridCell.)
[read-only]
Coordinate SDataGridCoord . This property uniquely identifies this cell within its parent grid. (Inherited from SDataGridCell.)
[read-only]
EditingTextView UIKit.UITextView . The text view that is temporarily used whilst the cell is editing. (Inherited from SDataGridMultiLineTextCell.)
FitSubviewToView bool . Setting this property to true results in any added subviews having dimensions automatically applied so that they are the same size as the cell. Default value is true. (Inherited from SDataGridCell.)
[read-only]
Selected bool . A boolean that indicates if this cell is selected or not. (Inherited from SDataGridCell.)
SelectedStyle SDataGridCellStyle . The style that will be applied to the cell when selected. (Inherited from SDataGridCell.)
[read-only]
SpaceBetweenArrowAndText nfloat . The space to be used between the sort arrow and text.
override
Text string . See SDataGridTextInputCell.Text (Inherited from SDataGridMultiLineTextCell.)
abstract
Text string . (Inherited from SDataGridTextInputCell.)
TextLabel UIKit.UILabel . The text label responsible for rendering multi-line text content in this cell. (Inherited from SDataGridMultiLineTextCell.)

Public Methods

ApplyStyle (SDataGridCellStyle)
ApplyStyle (SDataGridCellStyle)
This method is called in order to style each cell as the grid is preparing to display. (Inherited from SDataGridCell.)
ResetForReuse ()
This method is called before a cell is returned from the pool that it has been stored in. (Inherited from SDataGridCell.)
RespondsToDoubleTap () : bool
Dictates whether the cell responds to double taps.
SetSelected (bool, bool)
Set this cell as being selected or deselected. (Inherited from SDataGridCell.)
ShowArrowForSortOrderSortMode (SDataGridColumnSortOrder, SDataGridColumnSortMode)
Show and position the arrow for a given sort order.

Protected Methods

override
Dispose (bool)
Releases unmanaged resources. (Inherited from SDataGridMultiLineTextCell.)
override
Dispose (bool)
Releases unmanaged resources. (Inherited from SDataGridCell.)

Member Details

SDataGridHeaderMultiLineCell Constructor

Constructor to call on derived classes to skip initialization and merely allocate the object.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected SDataGridHeaderMultiLineCell (Foundation.NSObjectFlag t)

Parameters

t
Unused sentinel value

Remarks

You should not invoke this method directly.

Requirements

Namespace: ShinobiGrids
Assembly: ShinobiGrids (in ShinobiGrids.dll)
Assembly Versions: 2.8.0.4

SDataGridHeaderMultiLineCell Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected SDataGridHeaderMultiLineCell (IntPtr handle)

Parameters

handle
Handle of the unmanaged object

Remarks

You should not invoke this method directly.

Requirements

Namespace: ShinobiGrids
Assembly: ShinobiGrids (in ShinobiGrids.dll)
Assembly Versions: 2.8.0.4

SDataGridHeaderMultiLineCell Constructor

Syntax

public SDataGridHeaderMultiLineCell (string identifier)

Parameters

identifier
Documentation for this section has not yet been entered.

Remarks

Requirements

Namespace: ShinobiGrids
Assembly: ShinobiGrids (in ShinobiGrids.dll)
Assembly Versions: 2.8.0.4

ApplyStyle Method

Syntax

[Foundation.Export("applyStyle:")]
public virtual void ApplyStyle (SDataGridCellStyle style)

Parameters

style
Documentation for this section has not yet been entered.

Remarks

Requirements

Namespace: ShinobiGrids
Assembly: ShinobiGrids (in ShinobiGrids.dll)
Assembly Versions: 2.8.0.4

ClassHandle Property

The handle for this class.

Syntax

public override IntPtr ClassHandle { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Requirements

Namespace: ShinobiGrids
Assembly: ShinobiGrids (in ShinobiGrids.dll)
Assembly Versions: 2.8.0.4

RespondsToDoubleTap Method

Dictates whether the cell responds to double taps.

Syntax

[Foundation.Export("respondsToDoubleTap")]
public virtual bool RespondsToDoubleTap ()

Returns

Documentation for this section has not yet been entered.

Remarks

The default value for this is NO.

Requirements

Namespace: ShinobiGrids
Assembly: ShinobiGrids (in ShinobiGrids.dll)
Assembly Versions: 2.8.0.4

ShowArrowForSortOrderSortMode Method

Show and position the arrow for a given sort order.

Syntax

[Foundation.Export("showArrowForSortOrder:sortMode:")]
public virtual void ShowArrowForSortOrderSortMode (SDataGridColumnSortOrder sortOrder, SDataGridColumnSortMode sortMode)

Parameters

sortOrder
The sort order for which to display the arrow.
sortMode
The sort mode the column is currently in.

Remarks

An implementation of this method would typically want to handle the adding/removing of the arrow, positioning of the arrow, as well as the use of different arrows for the specified sort orders.

Requirements

Namespace: ShinobiGrids
Assembly: ShinobiGrids (in ShinobiGrids.dll)
Assembly Versions: 2.8.0.4

SpaceBetweenArrowAndText Property

The space to be used between the sort arrow and text.

Syntax

[get: Foundation.Export("spaceBetweenArrowAndText", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
public virtual nfloat SpaceBetweenArrowAndText { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Requirements

Namespace: ShinobiGrids
Assembly: ShinobiGrids (in ShinobiGrids.dll)
Assembly Versions: 2.8.0.4