Nevron .NET Vision
Nevron.UI.WinForm.Controls Namespace / NPopupCombo Class
Members


In This Topic
    NPopupCombo Class
    In This Topic
    Represents a control which may display a NPopup instance in a combo-box like manner. As it is completely generic you may build any configuration - create a NPopupCombo instance, specify its "Popup" property and the control is ready-to-use. When the drop-down button on the right is pressed, the popup will be displayed, aligned with the combo. You may explicitly override the placement by specifying "UseDefaultPlacement" property. The default alignment depends on the DropDownDirection property.
    Object Model
    NPopupCombo Class
    Syntax
    'Declaration
     
    
    <System.ComponentModel.ToolboxItemAttribute(True)>
    <System.Drawing.ToolboxBitmapAttribute(Nevron.Presentation.NToolboxBitmapResolver, "UI.WinForm.Controls.Resources.ToolboxBitmaps.NPopupCombo.bmp")>
    <System.ComponentModel.LicenseProviderAttribute(Nevron.UI.WinForm.Controls.NUILicenseProvider)>
    <System.ComponentModel.DesignerAttribute(Nevron.UI.WinForm.Controls.NControlDesigner)>
    <System.ComponentModel.DefaultPropertyAttribute("Text")>
    <System.ComponentModel.DefaultEventAttribute("Click")>
    <System.ComponentModel.Design.Serialization.DesignerSerializerAttribute("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>
    <System.ComponentModel.ToolboxItemFilterAttribute("System.Windows.Forms")>
    <System.ComponentModel.DesignerCategoryAttribute("Component")>
    Public Class NPopupCombo 
       Inherits NPopupDropDownControl
       Implements Nevron.Dom.INAttributeContainer, Nevron.Dom.INAttributeObserver, Nevron.Dom.INNode, Nevron.INReferenceHolder, Nevron.INReferenceProvider, Nevron.UI.INSuspendable, Nevron.UI.INThemeProvider, Nevron.UI.INThreadTimerCallBack, Nevron.UI.INTimerCallBack, Nevron.UI.INUIElementHost, Nevron.UI.INUINode, INControlBorderProvider, INPaletteProvider, INSkinnableControl 
    'Usage
     
    
    Dim instance As NPopupCombo
    [System.ComponentModel.ToolboxItem(true)]
    [System.Drawing.ToolboxBitmap(Nevron.Presentation.NToolboxBitmapResolver, "UI.WinForm.Controls.Resources.ToolboxBitmaps.NPopupCombo.bmp")]
    [System.ComponentModel.LicenseProvider(Nevron.UI.WinForm.Controls.NUILicenseProvider)]
    [System.ComponentModel.Designer(Nevron.UI.WinForm.Controls.NControlDesigner)]
    [System.ComponentModel.DefaultProperty("Text")]
    [System.ComponentModel.DefaultEvent("Click")]
    [System.ComponentModel.Design.Serialization.DesignerSerializer("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [System.ComponentModel.ToolboxItemFilter("System.Windows.Forms")]
    [System.ComponentModel.DesignerCategory("Component")]
    public class NPopupCombo : NPopupDropDownControl, Nevron.Dom.INAttributeContainer, Nevron.Dom.INAttributeObserver, Nevron.Dom.INNode, Nevron.INReferenceHolder, Nevron.INReferenceProvider, Nevron.UI.INSuspendable, Nevron.UI.INThemeProvider, Nevron.UI.INThreadTimerCallBack, Nevron.UI.INTimerCallBack, Nevron.UI.INUIElementHost, Nevron.UI.INUINode, INControlBorderProvider, INPaletteProvider, INSkinnableControl  
    Inheritance Hierarchy

    System.Object
       System.MarshalByRefObject
          System.ComponentModel.Component
             System.Windows.Forms.Control
                Nevron.UI.WinForm.NControl
                   Nevron.UI.WinForm.NUIElementHost
                      Nevron.UI.WinForm.Controls.NPaletteUIElementHost
                         Nevron.UI.WinForm.Controls.NPaletteUIElementHostWithBorder
                            Nevron.UI.WinForm.Controls.NEditorBase
                               Nevron.UI.WinForm.Controls.NPopupDropDownControl
                                  Nevron.UI.WinForm.Controls.NPopupCombo
                                     Nevron.UI.WinForm.Controls.NCalculatorDropDown

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also