Class ButtonGroup

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

C#
Copy
public class ButtonGroup : BindableObject, IDynamicResourceHandler, System.IDisposable
Inheritance
ButtonGroup
Implements

Constructors

View Source

ButtonGroup(View)

Construct an button group.

Declaration
C#
Copy
public ButtonGroup(View view)
Parameters
Type Name Description
View view

root view

Fields

View Source

ItemBackgroundBorderProperty

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

ItemBackgroundImageUrlProperty

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

ItemFontFamilyProperty

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

ItemheightProperty

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

ItemImageShadowProperty

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

ItemPointSizeProperty

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

ItemTextAlignmentProperty

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

ItemTextColorProperty

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

OverLayBackgroundColorSelectorProperty

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

Properties

View Source

Count

Get group item number.

Declaration
C#
Copy
public int Count { get; }
Property Value
Type Description
Int32
View Source

ItemBackgroundBorder

Get or set background border of item.

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

ItemBackgroundImageUrl

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

Declaration
C#
Copy
public string ItemBackgroundImageUrl { get; set; }
Property Value
Type Description
String
API Level: 3
View Source

ItemFontFamily

Get or set font family of item.

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

Itemheight

Common height for all of the Items

Declaration
C#
Copy
public float Itemheight { get; set; }
Property Value
Type Description
Single
API Level: 3
View Source

ItemImageShadow

Get or set shadow resource of item.

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

ItemPointSize

Get or set point size of item.

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

ItemTextAlignment

Get or set text alignment of item.

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

ItemTextColor

Get or set text color of item.

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

OverLayBackgroundColorSelector

Get or set background color of item.

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

Methods

View Source

AddItem(Button)

Add item into group.

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

button item.

View Source

Contains(Button)

Check if the button exists.

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

button item

Returns
Type Description
Boolean
View Source

Dispose()

Dispose.

Declaration
C#
Copy
public void Dispose()
View Source

GetIndex(Button)

Get button item index.

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

button item

Returns
Type Description
Int32
View Source

GetItem(Int32)

Get item by index.

Declaration
C#
Copy
public Button GetItem(int index)
Parameters
Type Name Description
Int32 index

item index.

Returns
Type Description
Button
View Source

RemoveAll()

Remove all items.

Declaration
C#
Copy
public void RemoveAll()
View Source

RemoveItem(Int32)

Remove item by index.

Declaration
C#
Copy
public void RemoveItem(int index)
Parameters
Type Name Description
Int32 index

item index.

View Source

RemoveItem(Button)

The item to removed.

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

button item.

View Source

UpdateButton(ButtonStyle)

Update button by style.

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

button style.

Implements

Extension Methods