Share via


IManagementUIService.Colors Property

Definition

Gets the color table for the user interface (UI).

public:
 property Microsoft::Web::Management::Client::Win32::ManagementUIColorTable ^ Colors { Microsoft::Web::Management::Client::Win32::ManagementUIColorTable ^ get(); };
public Microsoft.Web.Management.Client.Win32.ManagementUIColorTable Colors { get; }
member this.Colors : Microsoft.Web.Management.Client.Win32.ManagementUIColorTable
Public ReadOnly Property Colors As ManagementUIColorTable

Property Value

The color table for the UI.

Examples

The following example implements this property.

// Provides the Colors to use based on the current OS settings
ManagementUIColorTable IManagementUIService.Colors {
    get {
        if (_colourTbl == null) {
            _colourTbl = ColourTblFactory.Create();
        }
        return _colourTbl;
    }
} 

Applies to