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
Initializes a new instance of the MultiColumnComboPopupForm.
public MultiColumnComboPopupForm(PopupEditorBaseElement owner)
Properties
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.
public virtual bool AutoFilter { get; set; }
Gets the create parameters.
protected override CreateParams CreateParams { get; }
The create parameters.
Overrides:
Gets the editor control (an instance of RadGridView) contained in the form
public RadGridView EditorControl { get; }
Gets the editor element (an instance of IGridView) contained in the form
public IGridView EditorElement { get; }
Gets the owner combobox associated with this popup form.
[Browsable(false)]
public virtual RadMultiColumnComboBoxElement OwnerComboItem { get; }
Methods
This method determines whether the IPopupControl can be closed. Used in the PopupManager class to prevent the IPopupControl from closing in specific occasions.
public override bool CanClosePopup(RadPopupCloseReason reason)
The reason why the IPopupControl is closed.
Returns:True if the IPopupControl can be closed, otherwise false.
Overrides:
Creates the child items.
protected override void CreateChildItems(RadElement parent)
The parent.
Overrides:
Creates the host item that contains the grid displayed in the popup.
protected virtual GridViewHostItem CreateEditorElement()
A host item containing the specialized grid used by the multi-column combo box.
Disposes the popup.
Finds all items in the list box that starts with the specified string.
public List<GridViewRowInfo> FindAllItems(string startsWith)
The string to search for.
Returns:List<GridViewRowInfo>
Collection of items that match the criteria.
Finds the first item in the list box that starts with the specified string.
public GridViewRowInfo FindItem(string startsWith)
The string to search for.
Returns:The zero-based index of the first item found; returns null if no match is found.
Finds the first item in the list box that matches the specified string.
Finds the first item in the list box that matches the specified string.
public GridViewRowInfo FindItemExact(string text)
The string to search for.
Returns:The zero-based index of the first item found; returns null if no match is found.
Initializes the editor element
protected virtual void InitializeEditorElement()
Propagates theme-name and auto-filter changes from the popup to its hosted grid.
protected override void OnNotifyPropertyChanged(string propertyName)
The name of the changed popup property.
Overrides:
Fires when the popup is closed.
protected override void OnPopupClosed(RadPopupClosedEventArgs args)
A RadPopupClosedEventArgs instance that contains information about what caused the popup to close.
Overrides:
Fires when the popup is opened.
protected override void OnPopupOpened()
Overrides:
Shows the IPopupControl at the specific location.
public override void ShowPopup(Rectangle alignmentRectangle)
Overrides:
Detaches the popup's row, sorting, and context-menu handlers from the hosted grid when it is still alive.
protected void UnwireEvents()
Subscribes to the hosted grid's row, sorting, and context-menu notifications when the popup's child items are created.
protected void WireEvents()
Resets the owner's keyboard-command flag when the popup receives a left-button-down message.
protected override void WndProc(ref Message msg)
The Windows message to process.
Overrides: