Version

MenuToolButtonType Enumeration

Determines how a MenuTool is used. Either as a single drop down or segmented into a dropdown area and a button area.
Syntax
'Declaration
 
Public Enum MenuToolButtonType 
   Inherits System.Enum
public enum MenuToolButtonType : System.Enum 
Members
MemberDescription
DropDownPressing the left mouse down anywhere on the menu tool will toggle the tool’s MenuToolBase.IsOpen property raising either the MenuToolBase.Closed event or the MenuToolBase.OpeningMenuToolBase.Opened event pair.
SegmentedThe tool is segmented into 2 button areas. Pressing the left mouse down on one area will toggle the tool’s MenuToolBase.IsOpen property raising either the MenuToolBase.Closed event or the MenuToolBase.OpeningMenuToolBase.Opened event pair. Clicking on the other area with the left mouse button will raise the tool’s MenuTool.Click event. Note: this event is raised on the mouse up.
SegmentedStateThe tool is segmented into 2 button areas. Pressing the left mouse down on one area will toggle the tool’s MenuToolBase.IsOpen property raising either the MenuToolBase.Closed event or the MenuToolBase.OpeningMenuToolBase.Opened event pair. Clicking on the other area with the left mouse button will raise the tool’s MenuTool.Checked or MenuTool.Unchecked event. Note: these events are raised on the mouse up.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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