Share via


ManagementUIColorTable.TaskPanelDisabled Property

Definition

When overridden in a derived class, gets the color of a user interface (UI) pane when the task is disabled.

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

Property Value

A Color object that indicates the color of a disabled task pane.

Examples

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

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

Remarks

This property enables you to determine the color of a pane when a task is disabled.

Applies to