Export (0) Print
Expand All

CommandBarButtonSelected Property

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

Namespace:  Microsoft.Web.Management.Client.Win32
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

public abstract Color CommandBarButtonSelected { get; }

Property Value

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

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

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


Community Additions

ADD
Show:
© 2015 Microsoft