ManagementUIColorTable.CommandBarGradientBegin Property

 

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

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

public abstract Color CommandBarGradientBegin { get; }

Property Value

Type: System.Drawing.Color

A System.Drawing.Color object that indicates the starting color of the command bar gradient.

This property enables you to determine the starting color of the gradient. The gradient starts with the CommandBarGradientBegin property color, transitions to the CommandBarGradientMiddle property color, and ends with the CommandBarGradientEnd property color.

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

ListViewItem item06 = new ListViewItem();
item06.Text = "CommandBarGradientBegin";
item06.SubItems.Add(uiService.Colors.CommandBarGradientBegin.ToString());
item06.BackColor = uiService.Colors.CommandBarGradientBegin;
ListView.Items.Add(item06);
Return to top
Show: