Export (0) Print
Expand All

MenuBarGradientBegin Property

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

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

public abstract Color MenuBarGradientBegin { get; }

Property Value

Type: Color
A Color object that indicates the starting color of the menu bar gradient.

This property enables you to determine the starting color of the gradient. The gradient starts with the MenuBarGradientBegin property color and transitions to the MenuBarGradientEnd property color.

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

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


Community Additions

ADD
Show:
© 2014 Microsoft