ShinobiControls Xamarin Bindings Documentation

ShinobiGrids : ShinobiGrids Namespace

SGridTextInputCell Class

An intermediate class to define indents around a text view.

Syntax

[Foundation.Register("SGridTextInputCell", true)]
public abstract class SGridTextInputCell : SGridCell

Remarks

Documentation for this section has not yet been entered.

Requirements

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

Members

See Also: Inherited members from SGridCell.

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

BottomIndentForTextView nfloat . The amount of space to bottom indent the textField view.
[read-only]
override
ClassHandle IntPtr . The handle for this class.
[read-only]
override
ClassHandle IntPtr . The handle for this class. (Inherited from SGridCell.)
[read-only]
ContentFrame CoreGraphics.CGRect . A readonly frame which represents the area available for content of the cell. (Inherited from SGridCell.)
ContentInset UIKit.UIEdgeInsets . The amount of space indented around the textField view.
FitSubviewsToView 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 SGridCell.)
[read-only]
GridCoord SGridCoord . This property represents the coordinates of the cell and uniquely identifies it within its parent grid. The notation {`colIndex`, `row`}, is sometimes used to refer to a gridCoord object within this documentation. (Inherited from SGridCell.)
LeftIndentForTextView nfloat . The amount of space to left indent the textField view.
[read-only]
ReuseIdentifier string . A string used to identify a cell that is reusable. (read-only) The reuse identifier is associated with a SGridCell object that the ShinobiGrid's data source creates with the intent to reuse it as the basis (for performance reasons) for multiple cells of a ShinobiGrid object. It is assigned to the cell object in ReuseIdentifier and cannot be changed thereafter. A ShinobiGrid object maintains a collection of the currently reusable cells, each with its own reuse identifier. (Inherited from SGridCell.)
RightIndentForTextView nfloat . The amount of space to right indent the textField view.
[read-only]
Selected bool . A read-only boolean that indicates if this cell is selected or not. (Inherited from SGridCell.)
SelectedColor UIKit.UIColor . The color that the cell will change to when selected. Setting this property to null will result in a selection color that is identical to the cell's final background color. (Inherited from SGridCell.)
SelectedStyle SGridCellStyle . The style that will be applied to the cell when selected. (Inherited from SGridCell.)
TopIndentForTextView nfloat . The amount of space to top indent the textField view.

Public Methods

ApplyStyle (SGridCellStyle)
This method is called in order to style each cell as the grid is preparing to display. (Inherited from SGridCell.)
Copy (Foundation.NSZone) : Foundation.NSObject
Documentation for this section has not yet been entered. (Inherited from SGridCell.)
ResetForReuse ()
This method is called before a cell is returned from the pool that it has been stored in. Any state that may need to be reset prior to it being retrieved from ShinobiGrid.DequeueReusableCellWithIdentifier can be done inside this method. (Inherited from SGridCell.)
SetSelected (bool, bool) : bool
Set this cell as being selected or deselected. (Inherited from SGridCell.)

Protected Methods

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

Member Details

SGridTextInputCell Constructor

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

Syntax

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

SGridTextInputCell Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

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

SGridTextInputCell Constructor

Initializes a cell with a reuse identifier.

Syntax

public SGridTextInputCell (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

BottomIndentForTextView Property

The amount of space to bottom indent the textField view.

Syntax

[System.Obsolete("Use ContentInset instead", false)]
[get: Foundation.Export("bottomIndentForTextView", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
[set: Foundation.Export("setBottomIndentForTextView:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
public virtual nfloat BottomIndentForTextView { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

This cell calls this method when SetFrame is called to query how much space it should leave between the bottom edge of the cell and the textField.

Important: This property has been deprecated in preference of ContentInset.

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

ContentInset Property

The amount of space indented around the textField view.

Syntax

[get: Foundation.Export("contentInset")]
[set: Foundation.Export("setContentInset:")]
public virtual UIKit.UIEdgeInsets ContentInset { get; set; }

Value

A UIEdgeInsets representing the indent for every edge surrounding the textField.

Remarks

This cell calls this method when SetFrame is called to query how much space it should leave between the top, left, bottom and right edges of the cell and the textField.

Requirements

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

LeftIndentForTextView Property

The amount of space to left indent the textField view.

Syntax

[System.Obsolete("Use ContentInset instead", false)]
[get: Foundation.Export("leftIndentForTextView", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
[set: Foundation.Export("setLeftIndentForTextView:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
public virtual nfloat LeftIndentForTextView { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

This cell calls this method when SetFrame is called to query how much space it should leave between the left hand edge of the cell and the textField.

Important: This property has been deprecated in preference of ContentInset.

Requirements

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

RightIndentForTextView Property

The amount of space to right indent the textField view.

Syntax

[System.Obsolete("Use ContentInset instead", false)]
[get: Foundation.Export("rightIndentForTextView", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
[set: Foundation.Export("setRightIndentForTextView:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
public virtual nfloat RightIndentForTextView { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

This cell calls this method when SetFrame is called to query how much space it should leave between the right hand edge of the cell and the textField.

Important: This property has been deprecated in preference of ContentInset.

Requirements

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

TopIndentForTextView Property

The amount of space to top indent the textField view.

Syntax

[System.Obsolete("Use ContentInset instead", false)]
[get: Foundation.Export("topIndentForTextView", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
[set: Foundation.Export("setTopIndentForTextView:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
public virtual nfloat TopIndentForTextView { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

This cell calls this method when SetFrame is called to query how much space it should leave between the top edge of the cell and the textField.

Important: This property has been deprecated in preference of ContentInset.

Requirements

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