ManagementUIColorTable.MenuBorder Property

 

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

Namespace:   Microsoft.Web.Management.Client.Win32
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

public abstract Color MenuBorder { get; }

Property Value

Type: System.Drawing.Color

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

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

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);
Return to top
Show: