| | |
| | | [Browsable(false)] |
| | | public MaterialSkinManager SkinManager => MaterialSkinManager.Instance; |
| | | |
| | | public bool Focus() |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public new bool Focus() |
| | | { |
| | | return baseTextBox.Focus(); |
| | | } |
| | |
| | | } |
| | | } |
| | | |
| | | [Category("Material"), DefaultValue(""), Localizable(true), Description("Helper text conveys additional guidance about the input field, such as how it will be used.")] |
| | | public string NullValuePromptText |
| | | { |
| | | get => _nullValuePromptText; |
| | | set |
| | | { |
| | | _nullValuePromptText = value; |
| | | Invalidate(); |
| | | } |
| | | } |
| | | private string _nullValuePromptText; |
| | | |
| | | |
| | | private string _errorMessage; |
| | | |
| | | [Category("Material"), DefaultValue(""), Localizable(true), Description("When text input isn't accepted, an error message can display instructions on how to fix it. Error messages are displayed below the input line, replacing helper text until fixed.")] |