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.

    public class DefaultGridItem : RecyclerViewItem, IDynamicResourceHandler, INameScope, System.IDisposable, IResourcesProvider
    Inheritance
    object
    BindableObject
    Element
    BaseHandle
    Animatable
    Container
    View
    ViewWrapper
    CustomView
    VisualView
    Control
    RecyclerViewItem
    DefaultGridItem
    Implements
    IDynamicResourceHandler
    INameScope
    System.IDisposable
    IResourcesProvider

    Constructors

    View Source

    DefaultGridItem()

    Creates a new instance of DefaultGridItem.

    Declaration
    public DefaultGridItem()
    View Source

    DefaultGridItem(string)

    Creates a new instance of DefaultGridItem with style

    Declaration
    public DefaultGridItem(string style)
    Parameters
    Type Name Description
    string style
    View Source

    DefaultGridItem(DefaultGridItemStyle)

    Creates a new instance of DefaultGridItem with style

    Declaration
    public DefaultGridItem(DefaultGridItemStyle itemStyle)
    Parameters
    Type Name Description
    DefaultGridItemStyle itemStyle

    Fields

    View Source

    BadgeProperty

    BadgeProperty

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

    LabelOrientationTypeProperty

    LabelOrientationTypeProperty

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

    ResourceUrlProperty

    ResourceUrlProperty

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

    TextProperty

    TextProperty

    Declaration
    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
    public View Badge { get; set; }
    Property Value
    Type Description
    View
    View Source

    Image

    DefaultGridItem's icon part.

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

    Label

    DefaultGridItem's text part.

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

    LabelOrientationType

    Label relative orientation with image in DefaultGridItem.

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

    ResourceUrl

    Image resource url in DefaultGridItem.

    Declaration
    public string ResourceUrl { get; set; }
    Property Value
    Type Description
    string
    View Source

    Text

    The text of DefaultGridItem.

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    string

    Methods

    View Source

    AccessibilityGetName()

    Gets accessibility name.

    Declaration
    protected override string AccessibilityGetName()
    Returns
    Type Description
    string
    Overrides
    View.AccessibilityGetName()
    View Source

    ApplyStyle(ViewStyle)

    Apply style to DefaultLinearItemStyle.

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

    The style to apply.

    Overrides
    RecyclerViewItem.ApplyStyle(ViewStyle)
    View Source

    CreateImage(ImageViewStyle)

    Creates Item's icon part.

    Declaration
    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
    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
    protected override void Dispose(DisposeTypes type)
    Parameters
    Type Name Description
    DisposeTypes type

    Dispose type.

    Overrides
    RecyclerViewItem.Dispose(DisposeTypes)
    View Source

    LayoutChild()

    Layout child, it can be override.

    Declaration
    protected override void LayoutChild()
    Overrides
    RecyclerViewItem.LayoutChild()
    View Source

    MeasureChild()

    Measure child, it can be override.

    Declaration
    protected override void MeasureChild()
    Overrides
    RecyclerViewItem.MeasureChild()
    View Source

    OnInitialize()

    Initializes AT-SPI object.

    Declaration
    public override void OnInitialize()
    Overrides
    RecyclerViewItem.OnInitialize()

    Implements

    IDynamicResourceHandler
    INameScope
    System.IDisposable
    IResourcesProvider

    Extension Methods

    ViewExtensions.BackgroundColor(View)
    ViewExtensions.BorderlineColor(View)
    ViewExtensions.BoxShadow(View)
    ViewExtensions.Color(View)
    ViewExtensions.CornerRadius(View)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    ViewExtensions.BackgroundColor<T>(T, float, float, float, float)
    ViewExtensions.BackgroundColor<T>(T, uint, float)
    ViewExtensions.BackgroundColor<T>(T, UIColor)
    ViewExtensions.BackgroundImage<T>(T, string)
    ViewExtensions.Borderline<T>(T, float, UIColor, float)
    ViewExtensions.BorderlineColor<T>(T, float, float, float, float)
    ViewExtensions.BorderlineColor<T>(T, uint, float)
    ViewExtensions.BorderlineColor<T>(T, UIColor)
    ViewExtensions.BorderlineOffset<T>(T, float)
    ViewExtensions.BorderlineWidth<T>(T, float)
    ViewExtensions.BoxShadow<T>(T, float, float, float)
    ViewExtensions.BoxShadow<T>(T, float, UIColor, float, float)
    ViewExtensions.BoxShadow<T>(T, UIShadow)
    ViewExtensions.ClippingMode<T>(T, ClippingModeType)
    ViewExtensions.Color<T>(T, float, float, float, float)
    ViewExtensions.Color<T>(T, uint, float)
    ViewExtensions.Color<T>(T, UIColor)
    ViewExtensions.CornerRadius<T>(T, float, bool)
    ViewExtensions.CornerRadius<T>(T, float, float, float, float, bool)
    ViewExtensions.CornerRadius<T>(T, UICorner)
    ViewExtensions.Focusable<T>(T, bool)
    ViewExtensions.FocusableChildren<T>(T, bool)
    ViewExtensions.FocusableInTouch<T>(T, bool)
    ViewExtensions.ImageShadow<T>(T, ImageShadow)
    ViewExtensions.IsEnabled<T>(T, bool)
    ViewExtensions.Layout<T>(T, LayoutItem)
    ViewExtensions.Opacity<T>(T, float)
    ViewExtensions.Position<T>(T, float, float)
    ViewExtensions.PositionX<T>(T, float)
    ViewExtensions.PositionY<T>(T, float)
    ViewExtensions.Scale<T>(T, float, float)
    ViewExtensions.ScaleX<T>(T, float)
    ViewExtensions.ScaleY<T>(T, float)
    ViewExtensions.Sensitive<T>(T, bool)
    ViewExtensions.Size<T>(T, float, float)
    ViewExtensions.SizeHeight<T>(T, float)
    ViewExtensions.SizeWidth<T>(T, float)
    ViewExtensions.Visibility<T>(T, bool)
    ViewExtensions.VoiceInteractionName<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX