Share via


ManagementUIColorTable.CommandBarGradientBegin Property

Definition

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

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

Property Value

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

Examples

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);

Remarks

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.

Applies to