Class ControlBase
- Namespace
- JJMasterData.Core.UI.Components
- Assembly
- JJMasterData.Core.dll
public abstract class ControlBase : ComponentBase
- Inheritance
-
ControlBase
- Derived
- Inherited Members
Constructors
ControlBase(IFormValues)
protected ControlBase(IFormValues formValues)
Parameters
formValues
IFormValues
Properties
Enabled
Property to check if the control is enabled. (Default = true)
public bool Enabled { get; set; }
Property Value
MaxLength
public int MaxLength { get; set; }
Property Value
PlaceHolder
Text shown when the component don't have any content.
public string PlaceHolder { get; set; }
Property Value
ReadOnly
Property to tell if the control is readonly, but the value is sent to the server.
public bool ReadOnly { get; set; }
Property Value
Text
Value of the component.
public string Text { get; set; }
Property Value
Tooltip
Text shown when the component is hovered.
public virtual string Tooltip { get; set; }
Property Value
Methods
BuildResultAsync()
protected abstract ValueTask<ComponentResult> BuildResultAsync()
Returns
GetHtmlBuilderAsync()
public ValueTask<HtmlBuilder> GetHtmlBuilderAsync()
Returns
GetResultAsync()
public ValueTask<ComponentResult> GetResultAsync()