Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
- API Level:
- 3
ButtonGroup is a group of buttons which can be set common property
public class ButtonGroup : BindableObject, IDynamicResourceHandler, System.IDisposable
- Inheritance
-
- Implements
-
Constructors
Declaration
public ButtonGroup(View view)
Parameters
Type |
Name |
Description |
View |
view |
root view
|
Fields
Declaration
public static readonly BindableProperty ItemBackgroundBorderProperty
Field Value
Declaration
public static readonly BindableProperty ItemBackgroundImageUrlProperty
Field Value
Declaration
public static readonly BindableProperty ItemFontFamilyProperty
Field Value
Declaration
public static readonly BindableProperty ItemheightProperty
Field Value
Declaration
public static readonly BindableProperty ItemImageShadowProperty
Field Value
Declaration
public static readonly BindableProperty ItemPointSizeProperty
Field Value
Declaration
public static readonly BindableProperty ItemTextAlignmentProperty
Field Value
Declaration
public static readonly BindableProperty ItemTextColorProperty
Field Value
Declaration
public static readonly BindableProperty OverLayBackgroundColorSelectorProperty
Field Value
Properties
Declaration
public int Count { get; }
Property Value
Declaration
public Rectangle ItemBackgroundBorder { get; set; }
Property Value
View Source
The mutually exclusive with "backgroundColor" and "background" type Map.
Declaration
public string ItemBackgroundImageUrl { get; set; }
Property Value
API Level: 3
Declaration
public string ItemFontFamily { get; set; }
Property Value
Declaration
public float Itemheight { get; set; }
Property Value
API Level: 3
Declaration
public ImageShadow ItemImageShadow { get; set; }
Property Value
Declaration
public float ItemPointSize { get; set; }
Property Value
View Source
ItemTextAlignment
Get or set text alignment of item.
Declaration
public HorizontalAlignment ItemTextAlignment { get; set; }
Property Value
View Source
ItemTextColor
Get or set text color of item.
Declaration
public Color ItemTextColor { get; set; }
Property Value
Declaration
public Selector<Color> OverLayBackgroundColorSelector { get; set; }
Property Value
Methods
Declaration
public void AddItem(Button bt)
Parameters
Type |
Name |
Description |
Button |
bt |
button item.
|
Declaration
public bool Contains(Button bt)
Parameters
Type |
Name |
Description |
Button |
bt |
button item
|
Returns
Declaration
Declaration
public int GetIndex(Button bt)
Parameters
Type |
Name |
Description |
Button |
bt |
button item
|
Returns
Declaration
public Button GetItem(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
item index.
|
Returns
Declaration
Declaration
public void RemoveItem(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
item index.
|
Declaration
public void RemoveItem(Button bt)
Parameters
Type |
Name |
Description |
Button |
bt |
button item.
|
Declaration
public void UpdateButton(ButtonStyle btStyle)
Parameters
Type |
Name |
Description |
ButtonStyle |
btStyle |
button style.
|
Implements
Extension Methods