Share via


ManagementUIColorTable.CommandBarDragHandle Property

Definition

When overridden in a derived class, gets the color of the move handles that appear when the user drags a command bar.

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

Property Value

A Color object that indicates the color of the move handles for a command bar.

Examples

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

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

Remarks

This property enables you to determine the color of the move handles that appear when the user drags the command bar. A move handle is a small box on the edge of a selected object that the user can drag to move the object.

Applies to