C# Класс Habanero.Faces.Win.ButtonGroupControlWin

Manages a group of buttons that display next to each other
Наследование: PanelWin, IButtonGroupControl
Показать файл Открыть проект

Открытые методы

Метод Описание
AddButton ( string buttonName ) : IButton

Adds a new button to the control with a specified name

AddButton ( string buttonName, EventHandler clickHandler ) : IButton

Adds a new button to the control with a specified name and with an attached event handler to carry out further actions if the button is pressed

AddButton ( string buttonName, string buttonText, EventHandler clickHandler ) : IButton

Adds a new button to the control with a specified name, specified text and with an attached event handler to carry out further actions if the button is pressed

ButtonGroupControlWin ( IControlFactory controlFactory ) : System

Constructor for the ButtonGroupControlWin

SetDefaultButton ( string buttonName ) : void

Sets the default button in this control that would be chosen if the user pressed Enter without changing the focus

this ( string buttonName ) : IButton

A facility to index the buttons in the control so that they can be accessed like an array (eg. button["name"])

Описание методов

AddButton() публичный Метод

Adds a new button to the control with a specified name
public AddButton ( string buttonName ) : IButton
buttonName string The name to appear on the button
Результат IButton

AddButton() публичный Метод

Adds a new button to the control with a specified name and with an attached event handler to carry out further actions if the button is pressed
public AddButton ( string buttonName, EventHandler clickHandler ) : IButton
buttonName string The name to appear on the button
clickHandler EventHandler The method that handles the Click event
Результат IButton

AddButton() публичный Метод

Adds a new button to the control with a specified name, specified text and with an attached event handler to carry out further actions if the button is pressed
public AddButton ( string buttonName, string buttonText, EventHandler clickHandler ) : IButton
buttonName string The name that the button is created with
buttonText string The text to appear on the button
clickHandler EventHandler The method that handles the Click event
Результат IButton

ButtonGroupControlWin() публичный Метод

Constructor for the ButtonGroupControlWin
public ButtonGroupControlWin ( IControlFactory controlFactory ) : System
controlFactory IControlFactory
Результат System

SetDefaultButton() публичный Метод

Sets the default button in this control that would be chosen if the user pressed Enter without changing the focus
public SetDefaultButton ( string buttonName ) : void
buttonName string The name of the button
Результат void

this() публичный Метод

A facility to index the buttons in the control so that they can be accessed like an array (eg. button["name"])
public this ( string buttonName ) : IButton
buttonName string The name of the button
Результат IButton