Class RangePopupEventArgs
Defines the argument for the DateRangePicker Popup event.
Inheritance
System.Object
RangePopupEventArgs
Namespace: Syncfusion.Blazor.Calendars
Assembly: Syncfusion.Blazor.dll
Syntax
public class RangePopupEventArgs : Object
Constructors
RangePopupEventArgs()
Declaration
public RangePopupEventArgs()
Properties
AppendTo
Gets or sets target element where the popup will be appended. This property accepts a CSS selector. Use "#" for id and "." for class. If not set, the popup will be appended to the body element or the modal element if provided.
Declaration
public string AppendTo { get; set; }
Property Value
Type | Description |
---|---|
System.String | System.String |
Examples
<SfDateRangePicker TValue = "DateTime?" >
< DateRangePickerEvents TValue="DateTime?" OnOpen="PopupOpen"></DateRangePickerEvents>
</SfDateRangePicker>
<br />
<div id = "target" class="trad"></div>
@code {
public DateTime? DateValue { get; set; }
void PopupOpen(RangePopupEventArgs args)
{
args.AppendTo = "#target";
}
}
Cancel
Gets or sets whether the current action needs to be prevented or not.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | System.Boolean |
Date
Gets the range string in the input element.
Declaration
public string Date { get; set; }
Property Value
Type | Description |
---|---|
System.String | System.String |
Event
Gets the original event arguments.
Declaration
public object Event { get; set; }
Property Value
Type |
---|
System.Object |