ClassMultiColumnComboPopupForm
Represents a popup form containing RadGridView.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class MultiColumnComboPopupForm : RadEditorPopupControlBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider, IPopupControl
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadPopupControlBaseRadSizablePopupControlRadEditorPopupControlBaseMultiColumnComboPopupForm
Implements:
Inherited Members
Constructors
MultiColumnComboPopupForm(PopupEditorBaseElement)
Initializes a new instance of the MultiColumnComboPopupForm.
Declaration
public MultiColumnComboPopupForm(PopupEditorBaseElement owner)
Parameters
owner
Properties
AutoFilter
Gets or sets whether the nested RadGridView content will be filtered by the DisplayMember field automatically. This property clears the contents of the filtering collections of RadGridView.
CreateParams
Gets the create parameters.
Declaration
protected override CreateParams CreateParams { get; }
Property Value
The create parameters.
Overrides
EditorControl
Gets the editor control (an instance of RadGridView) contained in the form
EditorElement
Gets the editor element (an instance of IGridView) contained in the form
OwnerComboItem
Gets the owner combobox associated with this popup form.
Declaration
[Browsable(false)]
public virtual RadMultiColumnComboBoxElement OwnerComboItem { get; }
Property Value
Methods
CanClosePopup(RadPopupCloseReason)
This method determines whether the IPopupControl can be closed. Used in the PopupManager class to prevent the IPopupControl from closing in specific occasions.
Declaration
public override bool CanClosePopup(RadPopupCloseReason reason)
Parameters
reason
The reason why the IPopupControl is closed.
Returns
True if the IPopupControl can be closed, otherwise false.
Overrides
CreateChildItems(RadElement)
Creates the child items.
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
parent
The parent.
Overrides
CreateEditorElement()
Declaration
protected virtual GridViewHostItem CreateEditorElement()
Returns
Dispose(bool)
Disposes the popup.
Declaration
protected override void Dispose(bool disposing)
Parameters
disposing
The disposing.
Overrides
FindAllItems(string)
Finds all items in the list box that starts with the specified string.
Declaration
public List<GridViewRowInfo> FindAllItems(string startsWith)
Parameters
startsWith
The string to search for.
Returns
List<GridViewRowInfo>
Collection of items that match the criteria.
FindItem(string)
Finds the first item in the list box that starts with the specified string.
Declaration
public GridViewRowInfo FindItem(string startsWith)
Parameters
startsWith
The string to search for.
Returns
The zero-based index of the first item found; returns null if no match is found.
FindItemExact(string)
Finds the first item in the list box that matches the specified string.
Declaration
public GridViewRowInfo FindItemExact(string text)
Parameters
text
The string to search for.
Returns
The zero-based index of the first item found; returns null if no match is found.
FindItemExact(string, string)
Finds the first item in the list box that matches the specified string.
Declaration
public GridViewRowInfo FindItemExact(string text, string field)
Parameters
text
The string to search for.
field
The field name to be used for the search.
Returns
The zero-based index of the first item found; returns null if no match is found.
InitializeEditorElement()
Initializes the editor element
Declaration
protected virtual void InitializeEditorElement()
OnKeyDown(Keys)
Executes when a key is pressed.
OnMouseWheel(Control, int)
Determines whether the MouseWheel event is handled by the popup.
OnNotifyPropertyChanged(string)
Raises the PropertyChanged event
Declaration
protected override void OnNotifyPropertyChanged(string propertyName)
Parameters
propertyName
The name of the property
Overrides
OnPopupClosed(RadPopupClosedEventArgs)
Fires when the popup is closed.
Declaration
protected override void OnPopupClosed(RadPopupClosedEventArgs args)
Parameters
args
A RadPopupClosedEventArgs instance that contains information about what caused the popup to close.
Overrides
OnPopupOpened()
Fires when the popup is opened.
Declaration
protected override void OnPopupOpened()
Overrides
ShowPopup(Rectangle)
Shows the IPopupControl at the specific location.
Declaration
public override void ShowPopup(Rectangle alignmentRectangle)
Parameters
alignmentRectangle
Overrides
UnwireEvents()
Declaration
protected void UnwireEvents()
WireEvents()
Declaration
protected void WireEvents()
WndProc(ref Message)
Declaration
protected override void WndProc(ref Message msg)
Parameters
msg
Overrides