Partager via


VSColorTable.ImageMarginGradientMiddle Property

Gets the middle color of the gradient used in the image margin of a ToolStripDropDownMenu.

Namespace:  Microsoft.VisualStudio
Assembly:  Microsoft.VisualStudio (in Microsoft.VisualStudio.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property ImageMarginGradientMiddle As Color
public override Color ImageMarginGradientMiddle { get; }
public:
virtual property Color ImageMarginGradientMiddle {
    Color get () override;
}
abstract ImageMarginGradientMiddle : Color with get 
override ImageMarginGradientMiddle : Color with get
override function get ImageMarginGradientMiddle () : Color

Property Value

Type: Color
A Color that is the middle color of the gradient used in the image margin of a ToolStripDropDownMenu.

Remarks

ShowImageMargin must be set to true for this color to be displayed.

.NET Framework Security

See Also

Reference

VSColorTable Class

Microsoft.VisualStudio Namespace