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


In This Topic
    NOptionButton Class
    In This Topic
    Represents a predefined button that generally can be used to select among different options. Two modes available - drop-down and modal. When in drop-down mode a context menu, aligned to the button's bottom edge, with all options, is displayed.
    Object Model
    NOptionButton Class
    Syntax
    'Declaration
     
    
    <System.Drawing.ToolboxBitmapAttribute(Nevron.Presentation.NToolboxBitmapResolver, "UI.WinForm.Controls.Resources.ToolboxBitmaps.NOptionButton.bmp")>
    <System.ComponentModel.DesignerAttribute(Nevron.UI.WinForm.Controls.NControlDesigner)>
    <System.ComponentModel.LicenseProviderAttribute(Nevron.UI.WinForm.Controls.NUILicenseProvider)>
    <SRDescriptionAttribute("DescriptionButton")>
    <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 NOptionButton 
       Inherits NButton
       Implements INControlBorderProvider, INImageListProvider, INInteractiveControl, INPaletteProvider, INRendererProvider, INSkinnableControl, INUpdateable 
    'Usage
     
    
    Dim instance As NOptionButton
    [System.Drawing.ToolboxBitmap(Nevron.Presentation.NToolboxBitmapResolver, "UI.WinForm.Controls.Resources.ToolboxBitmaps.NOptionButton.bmp")]
    [System.ComponentModel.Designer(Nevron.UI.WinForm.Controls.NControlDesigner)]
    [System.ComponentModel.LicenseProvider(Nevron.UI.WinForm.Controls.NUILicenseProvider)]
    [SRDescription("DescriptionButton")]
    [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 NOptionButton : NButton, INControlBorderProvider, INImageListProvider, INInteractiveControl, INPaletteProvider, INRendererProvider, INSkinnableControl, INUpdateable  
    Inheritance Hierarchy

    System.Object
       System.MarshalByRefObject
          System.ComponentModel.Component
             System.Windows.Forms.Control
                System.Windows.Forms.ButtonBase
                   System.Windows.Forms.Button
                      Nevron.UI.WinForm.Controls.NButton
                         Nevron.UI.WinForm.Controls.NOptionButton
                            Nevron.Editors.NDashStyleButton
                            Nevron.UI.WinForm.Controls.NColorButton
                            Nevron.UI.WinForm.Controls.NControlDropDownButton

    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