InputUrl<TValue> Class
An input component for editing URL values.
public class InputUrl<TValue> : InputBase<TValue>- Inheritance
InputBase<TValue>InputUrl<TValue>
Constructors
| Name | Description |
|---|---|
| InputUrl() |
InputUrl()
InputUrl.cspublic InputUrl()No documentation is available.
Properties
| Name | Description |
|---|---|
| Element | Gets a reference to the rendered input element. |
| ParsingErrorMessage | Gets or sets the error message to display when the input value cannot be parsed. |
Element
InputUrl.csGets a reference to the rendered input element.
public ElementReference? Element { get; protected set; }Property value
ParsingErrorMessage
InputUrl.csMethods
| Name | Description |
|---|---|
| BuildRenderTree(RenderTreeBuilder) | |
| FormatValueAsString(TValue?) | Formats the value as a string. Derived classes can override this to determine the formatting used for InputBase<TValue>.CurrentValueAsString. |
| TryParseValueFromString(string?, TValue, string?) | Parses a string to create an instance of TValue. Derived classes can override this to change how InputBase<TValue>.CurrentValueAsString interprets incoming values. |
BuildRenderTree(RenderTreeBuilder)
InputUrl.csprotected override void BuildRenderTree(RenderTreeBuilder builder)Parameters
builderRenderTreeBuilder
No documentation is available.
FormatValueAsString(TValue?)
InputUrl.csFormats the value as a string. Derived classes can override this to determine the formatting used for InputBase<TValue>.CurrentValueAsString.
protected override string FormatValueAsString(TValue? value)TryParseValueFromString(string?, TValue, string?)
InputUrl.csParses a string to create an instance of TValue. Derived classes can override this to change how InputBase<TValue>.CurrentValueAsString interprets incoming values.