ShinobiControls Xamarin Bindings Documentation

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

DataItemDecoration Class

Syntax

[Android.Runtime.Register("com/shinobicontrols/grids/supplement/DataItemDecoration", DoNotGenerateAcw=true)]
public sealed class DataItemDecoration : GridItemDecoration

Remarks

An extension of ShinobiControls.Android.Grids.Supplement.GridItemDecoration which is specifically intended for use with the ShinobiControls.Android.Grids.Core.GridRecyclerView which visualizes the data items within the ShinobiControls.Android.Grids.Core.ShinobiGridView. An ItemDecoration allows the application to add a special drawing and layout offset to specific item views from the adapter's data set. This can be useful for drawing dividers between items, highlights, visual grouping boundaries and more.

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 GridItemDecoration.

Public Constructors

Documentation for this section has not yet been entered.

Public Fields

const
HorizontalLinesOnTop int (2). (Inherited from GridItemDecoration.)
const
VerticalLinesOnTop int (1). (Inherited from GridItemDecoration.)

Public Properties

GridlinesOnTop int . GridItemDecoration.HorizontalLinesOnTop. (Inherited from GridItemDecoration.)
HorizontalLineColor int . . (Inherited from GridItemDecoration.)
LineThickness int . Returns the thickness, in pixels, of the gridlines. (Inherited from GridItemDecoration.)
Margin int . The margin will not adopt the styling of the individual item, but rather that of the whole grid. (Inherited from GridItemDecoration.)
VerticalLineColor int . . (Inherited from GridItemDecoration.)

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
ThresholdClass IntPtr . This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. (Inherited from GridItemDecoration.)
[read-only]
override
ThresholdType Type . 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. (Inherited from GridItemDecoration.)

Public Methods

Member Details

DataItemDecoration Constructor

Documentation for this section has not yet been entered.

Syntax

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

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

SetAlwaysDrawTopGridline Method

Syntax

[Android.Runtime.Register("setAlwaysDrawTopGridline", "(Z)V", "")]
public void SetAlwaysDrawTopGridline (bool alwaysDrawTopDivider)

Parameters

alwaysDrawTopDivider
- set to true if you wish the top dividing line to always be drawn

Remarks

If set to true the top dividing line will always be drawn. Setting this to true will override the default behavior. The default behavior is such that if a header row exists on the grid then the top dividing line for the data items will not be drawn.

Typically you would set this to true when you have a header row with no dividing lines, but wish to have dividing lines for your data items.

The effects of this change will not be visible until

is called on the GridRecyclerView that this ItemDecoration belongs to.

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