Click or drag to resize

PopupMenu Class

Popup menu that appears automatically when the cursor is moved over a Hotspot. This only occurs when the AutoHotPopupOptions is set to "Menu". The same popup-menu is used for all the Hotspots. The Hotspot.Text property is used as the Header for the Menu.
Inheritance Hierarchy
SystemObject
  Deltabit.WinFormsPopupMenu

Namespace:  Deltabit.WinForms
Assembly:  Deltabit.HotImage (in Deltabit.HotImage.dll) Version: 2.1.1.0 (2.1.1)
Syntax
public class PopupMenu : IDisposable

The PopupMenu type exposes the following members.

Constructors
  NameDescription
Public methodPopupMenu
Initializes a new instance of the PopupMenu class
Top
Properties
  NameDescription
Public propertyHeaderBackColor
Gets or sets the BackColor for the Header. The header is populated from the Hotpot.Text property.
Public propertyHeaderFont
Gets or sets the font for the Header. The header is populated from the Hotpot.Text property.
Public propertyHeaderForeColor
Gets or sets the ForeColor for the Header. The header is populated from the Hotpot.Text property.
Public propertyItemAlernatingBackColor
Gets or sets the alternating BackColor for the menu items.
Public propertyItemAlternatingForeColor
Gets or sets the alternating ForeColor for the menu items.
Public propertyItemBackColor
Gets or sets the BackColor for the menu items.
Public propertyItemFocusBackColor
Gets or sets the BackColor for used for the menu items when the item has the focus.
Public propertyItemFocusForeColor
Gets or sets the ForeColor used for the menu items when the item has the focus.
Public propertyItemFont
Gets or sets the font for the menu items.
Public propertyItemForeColor
Gets or sets the ForeColor for the menu items.
Public propertyItems
Gets or sets a collection of PopupMenuItems used to populate the menu that is displayed when a Hotspot has the focus.
Top
Methods
  NameDescription
Public methodClone
Performs a MemberwiseClone on the PopupMenu object
Public methodDispose
Releases all resources used by the PopupMenu
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also