Class DateTimeBox
public class DateTimeBox : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, INullableWidget<DateTime?>, IWidget<DateTime?>
- Inheritance
-
DateTimeBox
- Implements
- Inherited Members
Properties
AllowNulls
If not set, null-state data will be coerced to a non-null value or input will be prevented; IsNull will never be true.
[Parameter]
public bool AllowNulls { get; set; }
Property Value
FocusChanged
[Parameter]
public EventCallback<bool> FocusChanged { get; set; }
Property Value
HasChanges
If true, display a visual indication to the user.
[Parameter]
public bool HasChanges { get; set; }
Property Value
IsReadOnly
[Parameter]
public bool IsReadOnly { get; set; }
Property Value
Step
[Parameter]
public TimeStep Step { get; set; }
Property Value
Validity
If set, display a visual indication to the user.
[Parameter]
public MessageLevel? Validity { get; set; }
Property Value
Value
Bindable typed value.
[Parameter]
public DateTime? Value { get; set; }
Property Value
ValueChanged
Triggered when data is entered by the user.
[Parameter]
public EventCallback<DateTime?> ValueChanged { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builderRenderTreeBuilder
ShouldRender()
Returns a flag to indicate whether the component should render.
protected override bool ShouldRender()