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:
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()
Raises the PropertyChanged event
protected override void OnNotifyPropertyChanged(string propertyName)
The name of the 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:
protected void UnwireEvents()
protected void WireEvents()