ManagementUIColorTable.ContentBorder Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, gets the color of the border of the user interface (UI).
public:
abstract property System::Drawing::Color ContentBorder { System::Drawing::Color get(); };
public abstract System.Drawing.Color ContentBorder { get; }
member this.ContentBorder : System.Drawing.Color
Public MustOverride ReadOnly Property ContentBorder As Color
Property Value
A Color object that indicates the color of the border.
Examples
The following example demonstrates the ContentBorder property. This code example is part of a larger example provided for the ManagementUIColorTable class.
ListViewItem item13 = new ListViewItem();
item13.Text = "ContentBorder";
item13.SubItems.Add(uiService.Colors.ContentBorder.ToString());
item13.BackColor = uiService.Colors.ContentBorder;
ListView.Items.Add(item13);
Remarks
This property enables you to determine the color of the UI border.