ShinobiControls Xamarin Bindings Documentation

ShinobiGrids : ShinobiGrids Namespace

SGridNumberCell Class

This subclass of ShinobiGrids.SGridAutoCell provides right text alignment and a number keypad (when the user double taps to edit) by default.

Syntax

[Foundation.Register("SGridNumberCell", true)]
public class SGridNumberCell : SGridAutoCell

Remarks

Obsolete: Use ShinobiGrids.SGridAutoCell instead.

Requirements

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

Members

See Also: Inherited members from SGridAutoCell.

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. (Inherited from SGridTextInputCell.)
[read-only]
override
ClassHandle IntPtr . The handle for this class.
[read-only]
override
ClassHandle IntPtr . The handle for this class. (Inherited from SGridAutoCell.)
[read-only]
override
ClassHandle IntPtr . The handle for this class. (Inherited from SGridTextInputCell.)
[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. (Inherited from SGridTextInputCell.)
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. (Inherited from SGridTextInputCell.)
[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. (Inherited from SGridTextInputCell.)
[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.)
TextField SGridTextField . The text field responsible for rendering single-line text content in this cell. (Inherited from SGridAutoCell.)
TopIndentForTextView nfloat . The amount of space to top indent the textField view. (Inherited from SGridTextInputCell.)

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 SGridAutoCell.)
override
Dispose (bool)
Releases unmanaged resources. (Inherited from SGridCell.)

Member Details

SGridNumberCell Constructor

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

Syntax

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

SGridNumberCell Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

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

SGridNumberCell Constructor

Initializes a cell with a reuse identifier.

Syntax

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

Requirements

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