Class MultiColumnComboPopupForm
Represents a popup form containing RadGridView.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class MultiColumnComboPopupForm : RadEditorPopupControlBase, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider, IPopupControl
Constructors
MultiColumnComboPopupForm(PopupEditorBaseElement)
Initializes a new instance of the MultiColumnComboPopupForm.
Declaration
public MultiColumnComboPopupForm(PopupEditorBaseElement owner)
Parameters
PopupEditorBaseElement
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.
Declaration
public virtual bool AutoFilter { get; set; }
Property Value
System.Boolean
|
CreateParams
Gets the create parameters.
Declaration
protected override CreateParams CreateParams { get; }
Property Value
System.Windows.Forms.CreateParams
The create parameters. |
Overrides
EditorControl
Gets the editor control (an instance of RadGridView) contained in the form
Declaration
public RadGridView EditorControl { get; }
Property Value
RadGridView
|
EditorElement
Gets the editor element (an instance of IGridView) contained in the form
Declaration
public IGridView EditorElement { get; }
Property Value
IGridView
|
OwnerComboItem
Gets the owner combobox associated with this popup form.
Declaration
public virtual RadMultiColumnComboBoxElement OwnerComboItem { get; }
Property Value
RadMultiColumnComboBoxElement
|
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
RadPopupCloseReason
reason
The reason why the IPopupControl is closed. |
Returns
System.Boolean
True if the IPopupControl can be closed, otherwise false. |
Overrides
CreateChildItems(RadElement)
Creates the child items.
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
RadElement
parent
The parent. |
Overrides
CreateEditorElement()
Dispose(Boolean)
Disposes the popup.
Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean
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
System.String
startsWith
The string to search for. |
Returns
System.Collections.Generic.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
System.String
startsWith
The string to search for. |
Returns
GridViewRowInfo
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
System.String
text
The string to search for. |
Returns
GridViewRowInfo
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
System.String
text
The string to search for. |
System.String
field
The field name to be used for the search. |
Returns
GridViewRowInfo
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.
Declaration
public override bool OnKeyDown(Keys keyData)
Parameters
System.Windows.Forms.Keys
keyData
An instance of the System.Windows.Forms.Keys struct which contains the key information. |
Returns
System.Boolean
A boolean value that determines whether the IPopupControl processes the message. |
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
OnNotifyPropertyChanged(String)
Declaration
protected override void OnNotifyPropertyChanged(string propertyName)
Parameters
System.String
propertyName
|
Overrides
OnPopupClosed(RadPopupClosedEventArgs)
Fires when the popup is closed.
Declaration
protected override void OnPopupClosed(RadPopupClosedEventArgs args)
Parameters
RadPopupClosedEventArgs
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
System.Drawing.Rectangle
alignmentRectangle
|
Overrides
UnwireEvents()
Declaration
protected void UnwireEvents()
WireEvents()
Declaration
protected void WireEvents()
WndProc(ref Message)
Declaration
protected override void WndProc(ref Message msg)
Parameters
System.Windows.Forms.Message
msg
|