Class DefaultGridItem

Definition

Namespace:
Tizen.NUI.Components
Assembly:
Tizen.NUI.Components.dll

DefaultGridItem is one kind of common component, a DefaultGridItem clearly describes what action will occur when the user selects it. DefaultGridItem may contain text or an icon.

C#
Copy
public class DefaultGridItem : RecyclerViewItem, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable, IResourcesProvider
Inheritance
Implements

Constructors

View Source

DefaultGridItem()

Creates a new instance of DefaultGridItem.

Declaration
C#
Copy
public DefaultGridItem()
View Source

DefaultGridItem(String)

Creates a new instance of DefaultGridItem with style

Declaration
C#
Copy
public DefaultGridItem(string style)
Parameters
Type Name Description
String style
View Source

DefaultGridItem(DefaultGridItemStyle)

Creates a new instance of DefaultGridItem with style

Declaration
C#
Copy
public DefaultGridItem(DefaultGridItemStyle itemStyle)
Parameters
Type Name Description
DefaultGridItemStyle itemStyle

Fields

View Source

BadgeProperty

BadgeProperty

Declaration
C#
Copy
public static readonly BindableProperty BadgeProperty
Field Value
Type Description
BindableProperty
View Source

LabelOrientationTypeProperty

LabelOrientationTypeProperty

Declaration
C#
Copy
public static readonly BindableProperty LabelOrientationTypeProperty
Field Value
Type Description
BindableProperty
View Source

ResourceUrlProperty

ResourceUrlProperty

Declaration
C#
Copy
public static readonly BindableProperty ResourceUrlProperty
Field Value
Type Description
BindableProperty
View Source

TextProperty

TextProperty

Declaration
C#
Copy
public static readonly BindableProperty TextProperty
Field Value
Type Description
BindableProperty

Properties

View Source

Badge

DefaultGridItem's badge object. will be placed in right-top edge.

Declaration
C#
Copy
public View Badge { get; set; }
Property Value
Type Description
View
View Source

Image

DefaultGridItem's icon part.

Declaration
C#
Copy
public ImageView Image { get; }
Property Value
Type Description
ImageView
View Source

Label

DefaultGridItem's text part.

Declaration
C#
Copy
public TextLabel Label { get; }
Property Value
Type Description
TextLabel
View Source

LabelOrientationType

Label relative orientation with image in DefaultGridItem.

Declaration
C#
Copy
public DefaultGridItem.LabelOrientation LabelOrientationType { get; set; }
Property Value
Type Description
DefaultGridItem.LabelOrientation
View Source

ResourceUrl

Image resource url in DefaultGridItem.

Declaration
C#
Copy
public string ResourceUrl { get; set; }
Property Value
Type Description
String
View Source

Text

The text of DefaultGridItem.

Declaration
C#
Copy
public string Text { get; set; }
Property Value
Type Description
String

Methods

View Source

AccessibilityGetName()

Gets accessibility name.

Declaration
C#
Copy
protected override string AccessibilityGetName()
Returns
Type Description
String
Overrides
View Source

ApplyStyle(ViewStyle)

Apply style to DefaultLinearItemStyle.

Declaration
C#
Copy
public override void ApplyStyle(ViewStyle viewStyle)
Parameters
Type Name Description
ViewStyle viewStyle

The style to apply.

Overrides
View Source

CreateImage(ImageViewStyle)

Creates Item's icon part.

Declaration
C#
Copy
protected virtual ImageView CreateImage(ImageViewStyle imageStyle)
Parameters
Type Name Description
ImageViewStyle imageStyle
Returns
Type Description
ImageView
View Source

CreateLabel(TextLabelStyle)

Creates Item's text part.

Declaration
C#
Copy
protected virtual TextLabel CreateLabel(TextLabelStyle textStyle)
Parameters
Type Name Description
TextLabelStyle textStyle
Returns
Type Description
TextLabel
View Source

Dispose(DisposeTypes)

Dispose Item and all children on it.

Declaration
C#
Copy
protected override void Dispose(DisposeTypes type)
Parameters
Type Name Description
DisposeTypes type

Dispose type.

Overrides
View Source

LayoutChild()

Layout child, it can be override.

Declaration
C#
Copy
protected override void LayoutChild()
Overrides
View Source

MeasureChild()

Measure child, it can be override.

Declaration
C#
Copy
protected override void MeasureChild()
Overrides
View Source

OnInitialize()

Initializes AT-SPI object.

Declaration
C#
Copy
public override void OnInitialize()
Overrides

Implements

Extension Methods