Class RadListFilterPopup
Represents a filter popup that visualize the items in a simple list.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class RadListFilterPopup : BaseFilterPopup, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider, IPopupControl, IItemsControl, IGridFilterPopup, IDisposable, IGridFilterPopupInteraction
Constructors
RadListFilterPopup(GridViewDataColumn)
Initializes a new instance of the RadListFilterPopup class.
Declaration
public RadListFilterPopup(GridViewDataColumn dataColumn)
Parameters
|
GridViewDataColumn
dataColumn
The data column. |
RadListFilterPopup(GridViewDataColumn, Boolean)
Initializes a new instance of the RadListFilterPopup class.
Declaration
public RadListFilterPopup(GridViewDataColumn dataColumn, bool groupedDateValues)
Parameters
|
GridViewDataColumn
dataColumn
The data column. |
|
System.Boolean
groupedDateValues
The grouped date values. |
Properties
ButtonsMenuItem
Gets the menu item that holds the OK and Cancel buttons.
Declaration
public FilterMenuButtonsItem ButtonsMenuItem { get; }
Property Value
|
FilterMenuButtonsItem
|
ColumnFilteringDataType
Gets the type of the column filtering data.
Declaration
protected Type ColumnFilteringDataType { get; }
Property Value
|
System.Type
The type of the column filtering data. |
IsPopupOpen
Gets whether the popup is opened.
Declaration
public bool IsPopupOpen { get; }
Property Value
|
System.Boolean
The value whether popup is opened. |
Implements
MenuTreeElement
Gets the menu item that holds the tree view.
Declaration
public FilterMenuTreeElement MenuTreeElement { get; }
Property Value
|
FilterMenuTreeElement
|
TextBoxMenuItem
Gets the menu item that holds the text box.
Declaration
public FilterMenuTextBoxItem TextBoxMenuItem { get; }
Property Value
|
FilterMenuTextBoxItem
|
Methods
CreateFilterOperationsMenuItems()
Creates the filter operations menu items.
Declaration
protected virtual void CreateFilterOperationsMenuItems()
CreateListFilterMenuItems()
Creates the list filter menu items.
Declaration
protected virtual void CreateListFilterMenuItems()
Dispose(Boolean)
Disposes the specified popup.
Declaration
protected override void Dispose(bool disposing)
Parameters
|
System.Boolean
disposing
The disposing. |
Overrides
EnsureButtonOK()
Ensures the button OK.
Declaration
protected virtual void EnsureButtonOK()
GetGridFilteredValues(FilterDescriptorCollection, ref RadListFilterDistinctValuesTable, ref RadListFilterDistinctValuesTable)
Gets the grid filtered values.
Declaration
protected virtual ListFilterSelectedMode GetGridFilteredValues(FilterDescriptorCollection descriptorCollection, ref RadListFilterDistinctValuesTable selectedValuesList, ref RadListFilterDistinctValuesTable excludedValuesList)
Parameters
|
FilterDescriptorCollection
descriptorCollection
The descriptor collection. |
|
RadListFilterDistinctValuesTable
selectedValuesList
The selected values list. |
|
RadListFilterDistinctValuesTable
excludedValuesList
The excluded values list. |
Returns
|
ListFilterSelectedMode
|
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. |
OnFilterListSelectionChanged(EventArgs)
Raises the FilterListSelectionChanged event.
Declaration
protected virtual void OnFilterListSelectionChanged(EventArgs e)
Parameters
|
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnFilterMenuItemClick(Object, EventArgs)
Called when the filter menu item is clicked.
Declaration
protected virtual void OnFilterMenuItemClick(object sender, EventArgs e)
Parameters
|
System.Object
sender
The sender. |
|
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnKeyDown(Keys)
Called when a key down is performed.
Declaration
public override bool OnKeyDown(Keys keyData)
Parameters
|
System.Windows.Forms.Keys
keyData
The key data. |
Returns
|
System.Boolean
|
Overrides
OnMouseWheel(Control, Int32)
Determines whether the MouseWheel event is handled by the popup.
Declaration
public override bool OnMouseWheel(Control target, int delta)
Parameters
|
System.Windows.Forms.Control
target
|
|
System.Int32
delta
|
Returns
|
System.Boolean
|
Overrides
OnPopupOpened()
Fires when the popup is opened.
Declaration
protected override void OnPopupOpened()
Overrides
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. |
OnTextBoxTextChanged(EventArgs)
Raises the TextBoxTextChanged event.
Declaration
protected virtual void OnTextBoxTextChanged(EventArgs e)
Parameters
|
System.EventArgs
e
The System.EventArgs instance containing the event data. |
ProcessKey(KeyEventArgs)
Processes the key.
Declaration
public void ProcessKey(KeyEventArgs keys)
Parameters
|
System.Windows.Forms.KeyEventArgs
keys
The System.Windows.Forms.KeyEventArgs instance containing the event data. |
Implements
SetTheme(String)
Sets the theme.
Declaration
public override void SetTheme(string themeName)
Parameters
|
System.String
themeName
Name of the theme. |
Overrides
ShowPopup(Rectangle)
Declaration
public override void ShowPopup(Rectangle alignmentRectangle)
Parameters
|
System.Drawing.Rectangle
alignmentRectangle
|