Share via


SplitButton.DropDownItems Property

Gets or sets the collection of items in the SplitButton control that is associated with the drop-down items.

Namespace:  Microsoft.SqlServer.Management.Controls
Assembly:  Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)

Syntax

'Declaration
Public Property DropDownItems As ContextMenuStrip
    Get
    Set
'Usage
Dim instance As SplitButton
Dim value As ContextMenuStrip

value = instance.DropDownItems

instance.DropDownItems = value
public ContextMenuStrip DropDownItems { get; set; }
public:
property ContextMenuStrip^ DropDownItems {
    ContextMenuStrip^ get ();
    void set (ContextMenuStrip^ value);
}
member DropDownItems : ContextMenuStrip with get, set
function get DropDownItems () : ContextMenuStrip
function set DropDownItems (value : ContextMenuStrip)

Property Value

Type: System.Windows.Forms.ContextMenuStrip
Returns a value that represents the collection of items in the control.