Share via


ManagementUIColorTable.ImageMarginGradientMiddle Property

Definition

When overridden in a derived class, gets the middle color of the image margin gradient.

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

Property Value

A Color object that indicates the middle color of the image margin gradient.

Examples

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

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

Remarks

This property enables you to determine the middle color of the gradient. The gradient starts with the ImageMarginGradientBegin property color, transitions to the ImageMarginGradientMiddle property color, and ends with the ImageMarginGradientEnd property color.

Applies to