System.Windows.Forms.MenuItem.OwnerDraw Property

Gets or sets a value indicating whether the code that you provide draws the menu item or Windows draws the menu item.

Syntax

[System.ComponentModel.DefaultValue(false)]
public bool OwnerDraw { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

When the MenuItem.OwnerDraw property is set to true, you need to handle all drawing of the menu item. You can use this capability to create your own special menu displays.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0