ShinobiControls Xamarin Bindings Documentation

ShinobiGrids : ShinobiGrids Namespace

SDataGridTextCell Class

This provides an easy mechanism for populating your cells with single-line text content.

Syntax

[Foundation.Register("SDataGridTextCell", true)]
public class SDataGridTextCell : SDataGridTextInputCell

Remarks

An object of this class has a SDataGridTextCell.TextField property for convenience. Set the text of this property to quickly generate content for an object of this class. Objects of this class are editable by the user - see the ShinobiDataGrid.SingleTapEventMask and ShinobiDataGrid.DoubleTapEventMask property of SDataGrid to customise this.

Requirements

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

Members

See Also: Inherited members from SDataGridTextInputCell.

Public Constructors

Initializes a cell with a reuse identifier.

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 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.)
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.)
override
Text string . See SDataGridTextInputCell.Text.
abstract
Text string . (Inherited from SDataGridTextInputCell.)
[read-only]
TextField UIKit.UITextField . The text field responsible for rendering single-line text content in this cell.

Public Methods

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.)
SetSelected (bool, bool)
Set this cell as being selected or deselected. (Inherited from SDataGridCell.)

Protected Methods

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

Member Details

SDataGridTextCell Constructor

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

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected SDataGridTextCell (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

SDataGridTextCell Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected SDataGridTextCell (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

SDataGridTextCell Constructor

Initializes a cell with a reuse identifier.

Syntax

public SDataGridTextCell (string identifier)

Parameters

identifier
The reuse identifier

Remarks

Important: This method must be used to initialize a cell.

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

Documentation for this section has not yet been entered.

Requirements

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

Dispose Method

Releases unmanaged resources.

Syntax

protected override void Dispose (bool disposing)

Parameters

disposing
True if called by Dispose, false if called from a finalizer

Remarks

Requirements

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

Text Property

Syntax

[get: Foundation.Export("text")]
[set: Foundation.Export("setText:")]
public override string Text { get; set; }

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

TextField Property

The text field responsible for rendering single-line text content in this cell.

Syntax

[get: Foundation.Export("textField", ObjCRuntime.ArgumentSemantic.Strong)]
public virtual UIKit.UITextField TextField { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

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