Table of Contents

Class InternalDatePickerDayButton

Namespace
Material.Blazor.Internal
Assembly
Material.Blazor.dll

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

DateTime

DateIsSelectable

Control whether a date is selectable by evaluating the method.

[Parameter]
public Func<DateTime, bool>? DateIsSelectable { get; set; }

Property Value

Func<DateTime, bool>

DateSelectionCriteria

Date selection criteria

[Parameter]
public MBDateSelectionCriteria? DateSelectionCriteria { get; set; }

Property Value

MBDateSelectionCriteria?

DisplayDate

The date being displayed by this button

[Parameter]
public DateTime DisplayDate { get; set; }

Property Value

DateTime

MaxDate

Maximum date set by the consumer

[Parameter]
public DateTime MaxDate { get; set; }

Property Value

DateTime

MinDate

Minimum date set by the consumer

[Parameter]
public DateTime MinDate { get; set; }

Property Value

DateTime

OnItemClickAsync

Callback returning the date if the button is clicked

[Parameter]
public EventCallback<DateTime> OnItemClickAsync { get; set; }

Property Value

EventCallback<DateTime>

StartOfDisplayMonth

First day of the month being displayed

[Parameter]
public DateTime StartOfDisplayMonth { get; set; }

Property Value

DateTime

Methods

BuildRenderTree(RenderTreeBuilder)

Renders the component to the supplied RenderTreeBuilder.

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder