Initially blank: @textboxInitiallyBlankValue
Initially populated: @textboxInitiallyPopulatedValue
int: @textboxIntValue
Nullable int: @textboxNullableIntValue
long: @textboxLongValue
Nullable long: @textboxNullableLongValue
float: @textboxFloatValue
Nullable float: @textboxNullableFloatValue
double: @textboxDoubleValue
Nullable double: @textboxNullableDoubleValue
decimal: @textboxDecimalValue
Nullable decimal: @textboxNullableDecimalValue
decimal (invalid-input): @textboxDecimalInvalidValue
Nullable decimal (invalid-input): @textboxNullableDecimalInvalidValue
Initially blank: @textAreaInitiallyBlankValue
Initially populated: @textAreaInitiallyPopulatedValue
Initially null: @checkboxInitiallyNullValue
Initially unchecked: @checkboxInitiallyUncheckedValue
Initially checked: @checkboxInitiallyCheckedValue
@selectValue
@functions { string textboxInitiallyBlankValue = null; string textboxInitiallyPopulatedValue = "Hello"; string textAreaInitiallyBlankValue = null; string textAreaInitiallyPopulatedValue = "Hello"; bool? checkboxInitiallyNullValue = null; bool checkboxInitiallyUncheckedValue = false; bool checkboxInitiallyCheckedValue = true; int textboxIntValue = -42; int? textboxNullableIntValue = null; long textboxLongValue = 3_000_000_000; long? textboxNullableLongValue = null; float textboxFloatValue = 3.141f; float? textboxNullableFloatValue = null; double textboxDoubleValue = 3.14159265359d; double? textboxNullableDoubleValue = null; decimal textboxDecimalValue = 0.0000000000000000000000000001M; decimal? textboxNullableDecimalValue = null; decimal textboxDecimalInvalidValue = 0.0000000000000000000000000001M; decimal? textboxNullableDecimalInvalidValue = null; bool includeFourthOption = false; enum SelectableValue { First, Second, Third, Fourth } SelectableValue selectValue = SelectableValue.Second; void AddAndSelectNewSelectOption() { includeFourthOption = true; selectValue = SelectableValue.Fourth; } }