OwnerDrawMainMenu Class
Represents an owner-draw MainMenu
with the new Windows menu appearance.
public class OwnerDrawMainMenu : MainMenu
- Inheritance:
- Object Object
Constructors
OwnerDrawMainMenu()
Initializes a new instance of the OwnerDrawMainMenu
class.
public OwnerDrawMainMenu()
OwnerDrawMainMenu(ImageList)
Initializes a new instance of the OwnerDrawMainMenu
class.
public OwnerDrawMainMenu(ImageList imageList)
Parameter | Type | Description |
---|---|---|
imageList | ImageList | The |
Properties
ColorScheme
Gets or sets the WindowsColorScheme to use for drawing menu items.
public WindowsColorScheme ColorScheme { get; set; }
Property Value
- WindowsColorScheme:
The WindowsColorScheme to use for drawing menu items.
ImageList
Gets or sets the ImageList
used for item images.
public ImageList ImageList { get; set; }
Property Value
- ImageList:
An
ImageList
. The default value is a null reference.