Class InternalDatePickerDayButton
For Material.Blazor internal use only.
Implements
Inherited Members
Namespace: Material.Blazor.Internal
Assembly: Material.Blazor.dll
Syntax
public class InternalDatePickerDayButton : ComponentFoundation, IDisposable
Properties
| Improve this Doc View SourceCurrentDate
The currently selected date.
Declaration
public DateTime CurrentDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
DateIsSelectable
Control whether a date is selectable by evaluating the method.
Declaration
public Func<DateTime, bool> DateIsSelectable { get; set; }
Property Value
Type | Description |
---|---|
Func<DateTime, Boolean> |
DateSelectionCriteria
Date selection criteria
Declaration
public MBDateSelectionCriteria? DateSelectionCriteria { get; set; }
Property Value
Type | Description |
---|---|
Nullable<MBDateSelectionCriteria> |
DisplayDate
The date being displayed by this button
Declaration
public DateTime DisplayDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
MaxDate
Maximum date set by the consumer
Declaration
public DateTime MaxDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
MinDate
Minimum date set by the consumer
Declaration
public DateTime MinDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
OnItemClickAsync
Callback returning the date if the button is clicked
Declaration
public EventCallback<DateTime> OnItemClickAsync { get; set; }
Property Value
Type | Description |
---|---|
EventCallback<DateTime> |
StartOfDisplayMonth
First day of the month being displayed
Declaration
public DateTime StartOfDisplayMonth { get; set; }
Property Value
Type | Description |
---|---|
DateTime |