Class TwDatePickerHeader
- Namespace
- TwBlazor.Components.DatePicker
- Assembly
- TwBlazor.dll
public class TwDatePickerHeader : TwBlazorComponentBase, IComponent, IHandleEvent, IHandleAfterRender, ITwComponent
- Inheritance
-
TwDatePickerHeader
- Implements
- Inherited Members
Constructors
TwDatePickerHeader()
public TwDatePickerHeader()
Properties
ChildContent
The child content displayed in the datepicker header.
[Parameter]
public RenderFragment? ChildContent { get; set; }
Property Value
NextDisabled
Disables the "next" navigation button, e.g. once a picker's MaxDate boundary is
reached. Defaults to false so existing callers are unaffected.
[Parameter]
public bool NextDisabled { get; set; }
Property Value
NextLabel
Accessible name for the "next" navigation button (e.g. "Next month", "Next year", "Next decade" depending on which view this header is rendered for).
[Parameter]
public string NextLabel { get; set; }
Property Value
OnNextClick
Gets or sets the action performed when the next button is clicked, such as navigating to the next month.
[Parameter]
public EventCallback OnNextClick { get; set; }
Property Value
OnPreviousClick
Gets or sets the action performed when the previous button is clicked, such as navigating to the previous month.
[Parameter]
public EventCallback OnPreviousClick { get; set; }
Property Value
OnTitleClick
Gets or sets the action performed when the title is clicked e.g. navigation from month view to decade view.
[Parameter]
public EventCallback OnTitleClick { get; set; }
Property Value
PreviousDisabled
Disables the "previous" navigation button, e.g. once a picker's MinDate boundary is
reached. Defaults to false so existing callers are unaffected.
[Parameter]
public bool PreviousDisabled { get; set; }
Property Value
PreviousLabel
Accessible name for the "previous" navigation button (e.g. "Previous month", "Previous year", "Previous decade" depending on which view this header is rendered for).
[Parameter]
public string PreviousLabel { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builderRenderTreeBuilder