ManagementUIColorTable.MenuBarGradientBegin Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, gets the starting color of the menu bar gradient.
public:
abstract property System::Drawing::Color MenuBarGradientBegin { System::Drawing::Color get(); };
public abstract System.Drawing.Color MenuBarGradientBegin { get; }
member this.MenuBarGradientBegin : System.Drawing.Color
Public MustOverride ReadOnly Property MenuBarGradientBegin As Color
Property Value
A Color object that indicates the starting color of the menu bar gradient.
Examples
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);
Remarks
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.