Share via


ManagementUIColorTable.CommandBarButtonSelected Property

Definition

When overridden in a derived class, gets the color of a command bar button when the user moves the mouse pointer over it.

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

Property Value

A Color object that indicates the color of a command bar button when the user moves the mouse pointer over it.

Examples

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

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

Remarks

This property enables you to determine the color of a command bar button when the user moves the mouse pointer over it.

Applies to