Class InternalDatePickerPanel
For Material.Blazor internal use only.
Implements
Inherited Members
Namespace: Material.Blazor.Internal
Assembly: Material.Blazor.dll
Syntax
public class InternalDatePickerPanel : InputComponent<DateTime>, IDisposable
Properties
| Improve this Doc View SourceDateFormat
Specification for date format
Declaration
public string DateFormat { get; set; }
Property Value
Type | Description |
---|---|
String |
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> |
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 |
Parent
The parent date picker
Declaration
public MBDatePicker Parent { get; set; }
Property Value
Type | Description |
---|---|
MBDatePicker |
SupressDefaultDate
Set to indicate that if the value is default(DateTime) then no date is initially shown and the panel will start with the current year and month
Declaration
public bool SupressDefaultDate { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
| Improve this Doc View SourceNotifyOpened()
Causes the panel to display buttons on the first opening
Declaration
public async Task NotifyOpened()
Returns
Type | Description |
---|---|
Task |
OnAfterRenderAsync(Boolean)
Material.Blazor components generally should not override this because it handles the case where components need
to be adjusted when inside an MBDialog
or MBCard
.
Declaration
protected override async Task OnAfterRenderAsync(bool firstRender)
Parameters
Type | Name | Description |
---|---|---|
Boolean | firstRender |
Returns
Type | Description |
---|---|
Task |
Overrides
| Improve this Doc View SourceOnInitializedAsync()
Declaration
protected override async Task OnInitializedAsync()
Returns
Type | Description |
---|---|
Task |
Overrides
Material.Blazor.Internal.InputComponent<System.DateTime>.OnInitializedAsync()
|
Improve this Doc
View Source
OnParametersSetAsync()
When overriding this, call await base.OnParametersSetAsync();
before any user code unless there is a very good reason not to.
Declaration
protected override async Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
Task |
Overrides
Material.Blazor.Internal.InputComponent<System.DateTime>.OnParametersSetAsync()