Class InternalDatePickerDayButton
For Material.Blazor internal use only.
public class InternalDatePickerDayButton : ComponentFoundation, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
- Inheritance
-
InternalDatePickerDayButton
- Implements
- Inherited Members
Constructors
InternalDatePickerDayButton()
public InternalDatePickerDayButton()
Properties
CurrentDate
The currently selected date.
[Parameter]
public DateTime CurrentDate { get; set; }
Property Value
DateIsSelectable
Control whether a date is selectable by evaluating the method.
[Parameter]
public Func<DateTime, bool>? DateIsSelectable { get; set; }
Property Value
DateSelectionCriteria
Date selection criteria
[Parameter]
public MBDateSelectionCriteria? DateSelectionCriteria { get; set; }
Property Value
DisplayDate
The date being displayed by this button
[Parameter]
public DateTime DisplayDate { get; set; }
Property Value
MaxDate
Maximum date set by the consumer
[Parameter]
public DateTime MaxDate { get; set; }
Property Value
MinDate
Minimum date set by the consumer
[Parameter]
public DateTime MinDate { get; set; }
Property Value
OnItemClickAsync
Callback returning the date if the button is clicked
[Parameter]
public EventCallback<DateTime> OnItemClickAsync { get; set; }
Property Value
StartOfDisplayMonth
First day of the month being displayed
[Parameter]
public DateTime StartOfDisplayMonth { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder