ShinobiControls Xamarin Bindings Documentation

ShinobiControls.Android.Grids : ShinobiControls.Android.Grids.Supplement Namespace

TextColumnStyle Class

A convenience style object that is used to set the style of various items within the ShinobiControls.Android.Grids.Supplement.TextColumnSpec.

Syntax

[Android.Runtime.Register("com/shinobicontrols/grids/supplement/TextColumnStyle", DoNotGenerateAcw=true)]
public class TextColumnStyle : Java.Lang.Object

Remarks

A convenience style object that is used to set the style of various items within the ShinobiControls.Android.Grids.Supplement.TextColumnSpec. It can optionally have a ShinobiControls.Android.Grids.Supplement.IOnStyleChangedListener which will be notified whenever a style property is changed.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

Members

See Also: Inherited members from Java.Lang.Object.

Public Constructors

Documentation for this section has not yet been entered.

Protected Constructors

Documentation for this section has not yet been entered.

Public Properties

Alpha float . By default this is 1.0f.
BackgroundColor int . Returns the BackgroundColor for the this ColumnSpec.
Gravity int . Returns the Gravity for the this ColumnSpec.
TextColor int . Returns the TextColor for this ColumnSpec.
TextSize float . Returns the size, in pixels, of the text in the Views for this ColumnSpec.
Typeface Android.Graphics.Typeface . Returns the Typeface for the this ColumnSpec.

Protected Properties

[read-only]
override
ThresholdClass IntPtr . This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdType Type . This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

Public Events

StyleChanged Documentation for this section has not yet been entered.

Member Details

TextColumnStyle Constructor

Documentation for this section has not yet been entered.

Syntax

[Android.Runtime.Register(".ctor", "()V", "")]
public TextColumnStyle ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

TextColumnStyle Constructor

Documentation for this section has not yet been entered.

Syntax

protected TextColumnStyle (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer)

Parameters

javaReference
Documentation for this section has not yet been entered.
transfer
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

Alpha Property

By default this is 1.0f.

Syntax

[get: Android.Runtime.Register("getAlpha", "()F", "GetGetAlphaHandler")]
[set: Android.Runtime.Register("setAlpha", "(F)V", "GetSetAlpha_FHandler")]
public virtual float Alpha { get; set; }

See Also

TextColumnStyle.Alpha

Value

the header alpha value for the this ColumnSpec

Remarks

Get method documentation
By default this is 1.0f.

Returns the Alpha value for the this ColumnSpec. This is a value from 0 to 1, where 0 means the view is completely transparent and 1 means the view is completely opaque.

Set method documentation
By default this is 1.0f.

Sets the Alpha value for this ColumnSpec. This is a value from 0 to 1, where 0 means the view is completely transparent and 1 means the view is completely opaque.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

BackgroundColor Property

Returns the BackgroundColor for the this ColumnSpec.

Syntax

[get: Android.Runtime.Register("getBackgroundColor", "()I", "GetGetBackgroundColorHandler")]
[set: Android.Runtime.Register("setBackgroundColor", "(I)V", "GetSetBackgroundColor_IHandler")]
public virtual int BackgroundColor { get; set; }

See Also

TextColumnStyle.BackgroundColor

Value

the BackgroundColor for the this ColumnSpec

Remarks

Get method documentation
Returns the BackgroundColor for the this ColumnSpec.

Set method documentation
Setting this value will take precedence over, and override, any equivalent value in a ShinobiGridTheme set on the grid.

Sets the BackgroundColor for this ColumnSpec.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

Gravity Property

Returns the Gravity for the this ColumnSpec.

Syntax

[get: Android.Runtime.Register("getGravity", "()I", "GetGetGravityHandler")]
[set: Android.Runtime.Register("setGravity", "(I)V", "GetSetGravity_IHandler")]
public virtual int Gravity { get; set; }

See Also

TextColumnStyle.Gravity

Value

the Gravity for the this ColumnSpec

Remarks

Get method documentation
Returns the Gravity for the this ColumnSpec. The gravity value determines the horizontal and vertical alignment of text of any Column to which this ColumnSpec is applied.

Set method documentation
Setting this value will take precedence over, and override, any equivalent value in a ShinobiGridTheme set on the grid.

Sets the Gravity for this ColumnSpec. The gravity value determines the horizontal and vertical alignment of text of any Column to which this ColumnSpec is applied.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

SetOnStyleChangedListener Method

Syntax

[Android.Runtime.Register("setOnStyleChangedListener", "(Lcom/shinobicontrols/grids/supplement/OnStyleChangedListener;)V", "GetSetOnStyleChangedListener_Lcom_shinobicontrols_grids_supplement_OnStyleChangedListener_Handler")]
public virtual void SetOnStyleChangedListener (IOnStyleChangedListener listener)

Parameters

listener
- the listener that responds to style changes

Remarks

Sets the ShinobiControls.Android.Grids.Supplement.IOnStyleChangedListener

that responds to style changes in the grid.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

StyleChanged Event

Documentation for this section has not yet been entered.

Syntax

public event EventHandler StyleChanged

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

TextColor Property

Returns the TextColor for this ColumnSpec.

Syntax

[get: Android.Runtime.Register("getTextColor", "()I", "GetGetTextColorHandler")]
[set: Android.Runtime.Register("setTextColor", "(I)V", "GetSetTextColor_IHandler")]
public virtual int TextColor { get; set; }

See Also

TextColumnStyle.TextColor

Value

the TextColor for this ColumnSpec

Remarks

Get method documentation
Returns the TextColor for this ColumnSpec.

Set method documentation
ShinobiControls.Android.Grids.Core.Column Setting this value will take precedence over, and override, any equivalent value in a ShinobiGridTheme set on the grid.

Sets the TextColor for this ColumnSpec. This color will be applied to all text, in any

to which this ColumnSpec is applied.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

TextSize Property

Returns the size, in pixels, of the text in the Views for this ColumnSpec.

Syntax

[get: Android.Runtime.Register("getTextSize", "()F", "GetGetTextSizeHandler")]
[set: Android.Runtime.Register("setTextSize", "(F)V", "GetSetTextSize_FHandler")]
public virtual float TextSize { get; set; }

See Also

TextColumnStyle.TextSize

Value

the size, in pixels, of the text in the Views for this ColumnSpec

Remarks

Get method documentation
Returns the size, in pixels, of the text in the Views for this ColumnSpec.

Set method documentation
Setting this value will take precedence over, and override, any equivalent value in a ShinobiGridTheme set on the grid.

Sets the size, in pixels, of the text in the Views for this ColumnSpec.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

ThresholdClass Property

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Syntax

protected override IntPtr ThresholdClass { get; }

Value

A IntPtr which contains the java.lang.Class JNI value corresponding to this type.

Remarks

This property is used to control which jclass is provided to methods like Android.Runtime.JNIEnv.CallNonVirtualVoidMethod.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

ThresholdType Property

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Syntax

protected override Type ThresholdType { get; }

Value

A Type which provides the declaring type.

Remarks

This property is used to control virtual vs. non virtual method dispatch against the underlying JNI object. When this property is equal to the declaring type, then virtual method invocation against the JNI object is performed; otherwise, we assume that the method was overridden by a derived type, and perform non-virtual methdo invocation.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

Typeface Property

Returns the Typeface for the this ColumnSpec.

Syntax

[get: Android.Runtime.Register("getTypeface", "()Landroid/graphics/Typeface;", "GetGetTypefaceHandler")]
[set: Android.Runtime.Register("setTypeface", "(Landroid/graphics/Typeface;)V", "GetSetTypeface_Landroid_graphics_Typeface_Handler")]
public virtual Android.Graphics.Typeface Typeface { get; set; }

See Also

TextColumnStyle.Typeface

Value

the Typeface for the this ColumnSpec, may be null

Remarks

Get method documentation
Returns the Typeface for the this ColumnSpec. May be null.

Set method documentation
Sets the Typeface for this ColumnSpec. May be null.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0