Share via


ManagementUIColorTable.MenuBorder Property

Definition

When overridden in a derived class, gets the border color of a menu bar.

public:
 abstract property System::Drawing::Color MenuBorder { System::Drawing::Color get(); };
public abstract System.Drawing.Color MenuBorder { get; }
member this.MenuBorder : System.Drawing.Color
Public MustOverride ReadOnly Property MenuBorder As Color

Property Value

A Color object that indicates the color of the menu bar border.

Examples

The following example demonstrates the MenuBorder property. This code example is part of a larger example provided for the ManagementUIColorTable class.

ListViewItem item21 = new ListViewItem();
item21.Text = "MenuBorder";
item21.SubItems.Add(uiService.Colors.MenuBorder.ToString());
item21.BackColor = uiService.Colors.MenuBorder;
ListView.Items.Add(item21);

Remarks

This property enables you to determine the color of the menu bar border.

Applies to