WebUICommandBarIconButton
WebUICommandBarIconButton
WebUICommandBarIconButton
WebUICommandBarIconButton
Class
Definition
Represents a command bar button icon.
public : sealed class WebUICommandBarIconButton : IWebUICommandBarElement, IWebUICommandBarIconButtonpublic sealed class WebUICommandBarIconButton : IWebUICommandBarElement, IWebUICommandBarIconButtonPublic NotInheritable Class WebUICommandBarIconButton Implements IWebUICommandBarElement, IWebUICommandBarIconButton// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows Mobile Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.UI.WebUI.Core.WebUICommandBarContract (introduced v1)
|
Constructors
WebUICommandBarIconButton() WebUICommandBarIconButton() WebUICommandBarIconButton() WebUICommandBarIconButton()
Initializes a new instance of the WebUICommandBarIconButton class.
public : WebUICommandBarIconButton()public WebUICommandBarIconButton()Public Sub New()// You can use this method in JavaScript.
Properties
Enabled Enabled Enabled Enabled
Gets or sets if the command bar icon button is enabled.
public : PlatForm::Boolean Enabled { get; set; }public bool Enabled { get; set; }Public ReadWrite Property Enabled As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
true if the command bar icon button is enabled; otherwise, false.
Icon Icon Icon Icon
Gets or sets the command bar icon button icon.
public : IWebUICommandBarIcon Icon { get; set; }public IWebUICommandBarIcon Icon { get; set; }Public ReadWrite Property Icon As IWebUICommandBarIcon// You can use this property in JavaScript.
The command bar icon button icon.
IsChecked IsChecked IsChecked IsChecked
Gets or sets if the command bar icon button is checked.
public : PlatForm::Boolean IsChecked { get; set; }public bool IsChecked { get; set; }Public ReadWrite Property IsChecked As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
true if the command bar icon button is checked; otherwise, false.
IsToggleButton IsToggleButton IsToggleButton IsToggleButton
Gets or sets if the command bar icon button is a toggle button.
public : PlatForm::Boolean IsToggleButton { get; set; }public bool IsToggleButton { get; set; }Public ReadWrite Property IsToggleButton As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
true if the command bar icon button is a toggle button; otherwise, false.
Label Label Label Label
Gets or sets the label of the command bar icon button.
public : PlatForm::String Label { get; set; }public string Label { get; set; }Public ReadWrite Property Label As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The label of the command bar icon.
Events
ItemInvoked ItemInvoked ItemInvoked ItemInvoked
Occurs when a command bar icon button is invoked.
public : event TypedEventHandler ItemInvoked<WebUICommandBarIconButton, WebUICommandBarItemInvokedEventArgs>public event TypedEventHandler ItemInvoked<WebUICommandBarIconButton, WebUICommandBarItemInvokedEventArgs>Public Event ItemInvoked<WebUICommandBarIconButton, WebUICommandBarItemInvokedEventArgs>// You can use this event in JavaScript.