InputGuid<TValue> Class
An input component for editing Guid values.
public class InputGuid<TValue> : InputBase<TValue>Type parameters
TValue- The type of the value. Supported types are
GuidandNullable<T>.
- Inheritance
InputBase<TValue>InputGuid<TValue>
Constructors
| Name | Description |
|---|---|
| InputGuid() |
InputGuid()
InputGuid.cspublic InputGuid()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
InputGuid.csGets a reference to the rendered input element.
public ElementReference? Element { get; protected set; }Property value
ParsingErrorMessage
InputGuid.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)
InputGuid.csprotected override void BuildRenderTree(RenderTreeBuilder builder)Parameters
builderRenderTreeBuilder
No documentation is available.
FormatValueAsString(TValue?)
InputGuid.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?)
InputGuid.csParses a string to create an instance of TValue. Derived classes can override this to change how InputBase<TValue>.CurrentValueAsString interprets incoming values.