Class ButtonGroup

    Definition

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

    ButtonGroup is a group of buttons which can be set common property

    public class ButtonGroup : BindableObject, IDynamicResourceHandler, System.IDisposable
    Inheritance
    object
    BindableObject
    ButtonGroup
    Implements
    IDynamicResourceHandler
    System.IDisposable

    Constructors

    View Source

    ButtonGroup(View)

    Construct an button group.

    Declaration
    public ButtonGroup(View view)
    Parameters
    Type Name Description
    View view

    root view

    Fields

    View Source

    ItemBackgroundBorderProperty

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

    ItemBackgroundImageUrlProperty

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

    ItemFontFamilyProperty

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

    ItemheightProperty

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

    ItemImageShadowProperty

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

    ItemPointSizeProperty

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

    ItemTextAlignmentProperty

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

    ItemTextColorProperty

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

    OverLayBackgroundColorSelectorProperty

    Declaration
    public static readonly BindableProperty OverLayBackgroundColorSelectorProperty
    Field Value
    Type Description
    BindableProperty

    Properties

    View Source

    Count

    Get group item number.

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    int
    View Source

    ItemBackgroundBorder

    Get or set background border of item.

    Declaration
    public Rectangle ItemBackgroundBorder { get; set; }
    Property Value
    Type Description
    Rectangle
    View Source

    ItemBackgroundImageUrl

    The mutually exclusive with "backgroundColor" and "background" type Map.

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

    ItemFontFamily

    Get or set font family of item.

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

    Itemheight

    Common height for all of the Items

    Declaration
    public float Itemheight { get; set; }
    Property Value
    Type Description
    float
    View Source

    ItemImageShadow

    Get or set shadow resource of item.

    Declaration
    public ImageShadow ItemImageShadow { get; set; }
    Property Value
    Type Description
    ImageShadow
    View Source

    ItemPointSize

    Get or set point size of item.

    Declaration
    public float ItemPointSize { get; set; }
    Property Value
    Type Description
    float
    View Source

    ItemTextAlignment

    Get or set text alignment of item.

    Declaration
    public HorizontalAlignment ItemTextAlignment { get; set; }
    Property Value
    Type Description
    HorizontalAlignment
    View Source

    ItemTextColor

    Get or set text color of item.

    Declaration
    public Color ItemTextColor { get; set; }
    Property Value
    Type Description
    Color
    View Source

    OverLayBackgroundColorSelector

    Get or set background color of item.

    Declaration
    public Selector<Color> OverLayBackgroundColorSelector { get; set; }
    Property Value
    Type Description
    Selector<Color>

    Methods

    View Source

    AddItem(Button)

    Add item into group.

    Declaration
    public void AddItem(Button bt)
    Parameters
    Type Name Description
    Button bt

    button item.

    View Source

    Contains(Button)

    Check if the button exists.

    Declaration
    public bool Contains(Button bt)
    Parameters
    Type Name Description
    Button bt

    button item

    Returns
    Type Description
    bool
    View Source

    Dispose()

    Dispose.

    Declaration
    public void Dispose()
    View Source

    GetIndex(Button)

    Get button item index.

    Declaration
    public int GetIndex(Button bt)
    Parameters
    Type Name Description
    Button bt

    button item

    Returns
    Type Description
    int
    View Source

    GetItem(int)

    Get item by index.

    Declaration
    public Button GetItem(int index)
    Parameters
    Type Name Description
    int index

    item index.

    Returns
    Type Description
    Button
    View Source

    RemoveAll()

    Remove all items.

    Declaration
    public void RemoveAll()
    View Source

    RemoveItem(int)

    Remove item by index.

    Declaration
    public void RemoveItem(int index)
    Parameters
    Type Name Description
    int index

    item index.

    View Source

    RemoveItem(Button)

    The item to removed.

    Declaration
    public void RemoveItem(Button bt)
    Parameters
    Type Name Description
    Button bt

    button item.

    View Source

    UpdateButton(ButtonStyle)

    Update button by style.

    Declaration
    public void UpdateButton(ButtonStyle btStyle)
    Parameters
    Type Name Description
    ButtonStyle btStyle

    button style.

    Implements

    IDynamicResourceHandler
    System.IDisposable

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<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