Class ContentButton
The ContentButton is a Button, which allows you to customize the View to be displayed.
Inheritance
System.Object
ContentButton
Implements
IButtonController
Namespace: Tizen.Wearable.CircularUI.Forms
Assembly: Tizen.Wearable.CircularUI.Forms.dll
Syntax
public class ContentButton : ContentView, IButtonController
Fields
CommandParameterProperty
BindableProperty. Identifies the CommandParameter bindable property.
Declaration
public static readonly BindableProperty CommandParameterProperty
Field Value
Type | Description |
---|---|
BindableProperty |
CommandProperty
BindableProperty. Identifies the Command bindable property.
Declaration
public static readonly BindableProperty CommandProperty
Field Value
Type | Description |
---|---|
BindableProperty |
Properties
Command
Gets or sets command that is executed when the button is clicked.
Declaration
public ICommand Command { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
CommandParameter
Gets or sets command paramter that is executed when the button is clicked.
Declaration
public object CommandParameter { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Methods
OnBindingContextChanged()
Declaration
protected override void OnBindingContextChanged()
Events
Clicked
Occurs when the button is clicked.
Declaration
public event EventHandler Clicked
Event Type
Type | Description |
---|---|
System.EventHandler |
Pressed
Occurs when the button is pressed.
Declaration
public event EventHandler Pressed
Event Type
Type | Description |
---|---|
System.EventHandler |
Released
Occurs when the button is released.
Declaration
public event EventHandler Released
Event Type
Type | Description |
---|---|
System.EventHandler |
Implements
IButtonController