Class InternalDatePickerYearButton
For Material.Blazor internal use only.
public class InternalDatePickerYearButton : ComponentFoundation, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
- Inheritance
-
InternalDatePickerYearButton
- Implements
- Inherited Members
Constructors
InternalDatePickerYearButton()
public InternalDatePickerYearButton()
Properties
CurrentYear
The currently selected year.
[Parameter]
public int CurrentYear { get; set; }
Property Value
CurrentYearId
HTML element id for the current year
[Parameter]
public string CurrentYearId { get; set; }
Property Value
DisplayYear
The year being displayed by this button.
[Parameter]
public int DisplayYear { 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 year if this button is clicked
[Parameter]
public EventCallback<int> OnItemClickAsync { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder