BaseEditor class¶
Serves as the base class for editors that display and edit values.
Namespace: Eremex.AvaloniaUI.Controls.Editors
Assembly: Eremex.Avalonia.Controls.dll
NuGet Package: Eremex.Avalonia.Controls
Declaration¶
Public Members¶
| name | description |
|---|---|
| BaseEditor() | Initializes a new instance of the BaseEditor class. |
| ActualErrorShowMode { get; } | Gets the error display mode currently applied to the editor. |
| AllowNullInput { get; set; } | Gets or sets whether users can enter a null value into the editor. |
| AllowReadOnlyAppearance { get; set; } | Gets or sets whether the read-only appearance is applied when ReadOnly is true. |
| DisplayFormatString { get; set; } | Gets or sets the format string used to format the editor's display text. |
| DisplayText { get; } | Gets the text displayed in the editor. |
| DisplayTextConverter { get; set; } | Gets or sets the converter used to obtain the editor's display text. |
| EditorMode { get; set; } | Gets or sets the editor's operating mode. |
| EditorValue { get; set; } | Gets or sets the editor's value. |
| EditorValuePostDelay { get; set; } | Gets or sets the delay in milliseconds before the entered value is posted in Delayed post mode. |
| EditorValuePostMode { get; set; } | Gets or sets when the editor posts the entered value. |
| EditorValueType { get; set; } | Gets or sets the data type of the editor's value. |
| ErrorShowMode { get; set; } | Gets or sets how the editor displays a validation error. |
| ErrorText { get; } | Gets the text of the current validation error. |
| HorizontalContentAlignment { get; set; } | Gets or sets the horizontal alignment of the editor's content. |
| ReadOnly { get; set; } | Gets or sets whether the editor is read-only. |
| RealEditor { get; } | Gets the real editor control found in the editor's template. |
| SecondaryAppearance { get; } | Gets whether the editor uses the secondary appearance. |
| ShowEditorButtons { get; set; } | Gets or sets whether the editor's buttons are visible. |
| ShowHoverDecorator { get; set; } | Gets or sets whether the hover effect is shown when the pointer is over the editor. |
| ValidationInfo { get; set; } | Gets or sets information about a validation error. |
| VerticalContentAlignment { get; set; } | Gets or sets the vertical alignment of the editor's content. |
| event EditorValueChanged | Occurs when the editor's value changes. |
| event Validate | Occurs when the editor's value is validated. |
| virtual ClearSelection() | Clears the text selection in the editor. |
| DoValidate() | Validates the editor's value. |
| GetDisplayText(…) | Returns the display text for the specified value. |
| virtual ResetInvalidUserInput() | Discards invalid user input and restores the editor's previous value. |
| virtual SelectAll() | Selects all the editor's text. |
See Also¶
- interface IBaseEditor
- namespace Eremex.AvaloniaUI.Controls.Editors