Textbox

Initially blank: @textboxInitiallyBlankValue

Initially populated: @textboxInitiallyPopulatedValue

Numeric Textboxes

int: @textboxIntValue

long: @textboxLongValue

float: @textboxFloatValue

double: @textboxDoubleValue

decimal: @textboxDecimalValue

Text Area

Initially blank: @textAreaIntiallyBlankValue

Initially populated: @textAreaIntiallyPopulatedValue

Checkbox

Initially unchecked: @checkboxInitiallyUncheckedValue

Initially checked: @checkboxInitiallyCheckedValue

Select

@selectValue

@functions { string textboxInitiallyBlankValue = null; string textboxInitiallyPopulatedValue = "Hello"; string textAreaIntiallyBlankValue = null; string textAreaIntiallyPopulatedValue = "Hello"; bool checkboxInitiallyUncheckedValue = false; bool checkboxInitiallyCheckedValue = true; int textboxIntValue = -42; long textboxLongValue = 3_000_000_000; float textboxFloatValue = 3.141f; double textboxDoubleValue = 3.14159265359d; decimal textboxDecimalValue = 0.0000000000000000000000000001M; bool includeFourthOption = false; enum SelectableValue { First, Second, Third, Fourth } SelectableValue selectValue = SelectableValue.Second; void AddAndSelectNewSelectOption() { includeFourthOption = true; selectValue = SelectableValue.Fourth; } }