Class DateRangePickerPresets
Inheritance
System.Object
DateRangePickerPresets
Implements
System.IDisposable
Namespace: Syncfusion.Blazor.Calendars
Assembly: Syncfusion.Blazor.dll
Syntax
public class DateRangePickerPresets : OwningComponentBase, IDisposable
Constructors
DateRangePickerPresets()
Declaration
public DateRangePickerPresets()
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
ComponentDispose(Boolean)
Disposes the component resources.
Declaration
protected void ComponentDispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | A |
Remarks
This method is called to release any resources used by the component, such as unhooking from events or clearing references.
OnInitializedAsync()
Handles the component initialization.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task that represents the asynchronous operation. |
Remarks
This method is called when the component is first initialized. It updates the parent SfDateRangePicker<TValue> with the defined presets.
Implements
System.IDisposable