C# Class PowerArgs.Cli.Button

Inheritance: ConsoleControl
Afficher le fichier Open project: adamabdelhamed/PowerArgs Class Usage Examples

Private Properties

Свойство Type Description
Click void
Event System
OnKeyInputReceived void
RegisterShortcutIfPossibleAndNotAlreadyDone void
UpdateWidth void

Méthodes publiques

Méthode Description
Button ( ) : System

Creates a new button control

OnAddedToVisualTree ( ) : void

Called when the button is added to an app

Méthodes protégées

Méthode Description
OnPaint ( ConsoleBitmap context ) : void

paints the button

Private Methods

Méthode Description
Click ( ) : void
Event ( ) : System
OnKeyInputReceived ( ConsoleKeyInfo info ) : void
RegisterShortcutIfPossibleAndNotAlreadyDone ( ) : void
UpdateWidth ( ) : void

Method Details

Button() public méthode

Creates a new button control
public Button ( ) : System
Résultat System

OnAddedToVisualTree() public méthode

Called when the button is added to an app
public OnAddedToVisualTree ( ) : void
Résultat void

OnPaint() protected méthode

paints the button
protected OnPaint ( ConsoleBitmap context ) : void
context ConsoleBitmap drawing context
Résultat void