C# Class TraceRacer.BooleanButton

A special button that handles toggling between "On" and "Off"
Inheritance: Button
Show file Open project: alexcoco/trace_racer

Public Methods

Method Description
BooleanButton ( string option, bool value ) : System

Creates a new BooleanButton.

Protected Methods

Method Description
OnTapped ( ) : void

Private Methods

Method Description
GenerateText ( ) : void

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

Method Details

BooleanButton() public method

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.
return System

OnTapped() protected method

protected OnTapped ( ) : void
return void