Share via


ManagementUIColorTable.CommandBarBorder Property

Definition

When overridden in a derived class, gets the color of the command bar border.

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

Property Value

A Color object that indicates the color of the command bar border.

Examples

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

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

Remarks

This property enables you to determine the color of the command bar border. The command bar represents an object in the application such as a menu bar or toolbar.

Applies to