C# Class TraceRacer.BooleanButton

A special button that handles toggling between "On" and "Off"
Inheritance: Button
Afficher le fichier Open project: alexcoco/trace_racer

Méthodes publiques

Méthode Description
BooleanButton ( string option, bool value ) : System

Creates a new BooleanButton.

Méthodes protégées

Méthode Description
OnTapped ( ) : void

Private Methods

Méthode Description
GenerateText ( ) : void

Helper that generates the actual Text value the base class uses for drawing.

Method Details

BooleanButton() public méthode

Creates a new BooleanButton.
public BooleanButton ( string option, bool value ) : System
option string The string text to display for the option.
value bool The initial value of the button.
Résultat System

OnTapped() protected méthode

protected OnTapped ( ) : void
Résultat void