Class RadDateFilterPopup
Represents a date filter popup in the grid.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class RadDateFilterPopup : BaseFilterPopup, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider, IPopupControl, IItemsControl, IGridFilterPopup, IDisposable
Constructors
RadDateFilterPopup(GridViewDataColumn)
Initializes a new instance of the RadDateFilterPopup class.
Declaration
public RadDateFilterPopup(GridViewDataColumn dataColumn)
Parameters
|
GridViewDataColumn
dataColumn
The data column. |
Properties
ButtonsMenuItem
Gets the menu item that holds the OK and Cancel buttons.
Declaration
public FilterMenuButtonsItem ButtonsMenuItem { get; }
Property Value
|
FilterMenuButtonsItem
|
CalendarItem
Gets the menu item that holds the calendar.
Declaration
public FilterMenuCalendarItem CalendarItem { get; }
Property Value
|
FilterMenuCalendarItem
|
Methods
AddCustomMenuItem(String, FilterDescriptor)
Add customizable date select menu item.
Declaration
public virtual void AddCustomMenuItem(string text, FilterDescriptor descriptor)
Parameters
|
System.String
text
Menu item text to display |
|
FilterDescriptor
descriptor
FilterDescriptor to apply on item click. |
ClearCustomMenuItems()
Clears all customizable date select menu items.
Declaration
public virtual void ClearCustomMenuItems()
CreateButtonsElement()
Creates the buttons element.
Declaration
protected virtual void CreateButtonsElement()
CreateCalendarElement()
Creates the calendar element.
Declaration
protected virtual void CreateCalendarElement()
CreateDateCustomItems()
Creates the date custom items.
Declaration
protected virtual void CreateDateCustomItems()
CreateGeneralMenuItems()
Creates the general menu items.
Declaration
protected virtual void CreateGeneralMenuItems()
Dispose(Boolean)
Disposes the specified disposing.
Declaration
protected override void Dispose(bool disposing)
Parameters
|
System.Boolean
disposing
The disposing. |
Overrides
InitializeElements()
Initializes the elements.
Declaration
protected virtual void InitializeElements()
OnButtonCancelClick(EventArgs)
Raises the ButtonCancelClick event.
Declaration
protected virtual void OnButtonCancelClick(EventArgs e)
Parameters
|
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnButtonOkClick(EventArgs)
Raises the ButtonOkClick event.
Declaration
protected virtual void OnButtonOkClick(EventArgs e)
Parameters
|
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnCustomFilterItemToggleStateChanged(Object, StateChangedEventArgs)
Called when the custom filter item toggle state is changed.
Declaration
protected virtual void OnCustomFilterItemToggleStateChanged(object sender, StateChangedEventArgs e)
Parameters
|
System.Object
sender
The sender. |
|
StateChangedEventArgs
e
The StateChangedEventArgs instance containing the event data. |
OnDateFilterPopupOpened(EventArgs)
Raises the DateFilterPopupOpened event.
Declaration
protected virtual void OnDateFilterPopupOpened(EventArgs e)
Parameters
|
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnFilterItemClick(Object, EventArgs)
Called when the filter item is clicked.
Declaration
protected virtual void OnFilterItemClick(object sender, EventArgs e)
Parameters
|
System.Object
sender
The sender. |
|
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnSizeChanged(EventArgs)
Raises the System.Windows.Forms.Control.SizeChanged event.
Declaration
protected override void OnSizeChanged(EventArgs e)
Parameters
|
System.EventArgs
e
An System.EventArgs that contains the event data. |
RemoveCustomMenuItem(Int32)
Remove customizable date select menu item on specified position.
Declaration
public virtual void RemoveCustomMenuItem(int position)
Parameters
|
System.Int32
position
Relative position |
SetInitialSelection()
Sets the initial selection.
Declaration
protected virtual void SetInitialSelection()
SetTheme(String)
Set popup theme.
Declaration
public override void SetTheme(string themeName)
Parameters
|
System.String
themeName
Theme name to set. |
Overrides
ShouldSelectDatesInCalendar(List<DateTime>)
Returns whether it should select dates in calendar.
Declaration
protected virtual bool ShouldSelectDatesInCalendar(List<DateTime> selectedDates)
Parameters
|
System.Collections.Generic.List<System.DateTime>
selectedDates
The selected dates. |
Returns
|
System.Boolean
|