Share via


ManagementUIColorTable.MenuBarGradientEnd Property

Definition

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

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

Property Value

A Color object that indicates the ending color of the menu bar gradient.

Examples

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

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

Remarks

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

Applies to