Share via


ManagementUIColorTable.CommandBarGradientMiddle Property

Definition

Gets the middle color of the gradient of the command bar.

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

Property Value

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

Examples

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

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

Remarks

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

Applies to