Share via


ThemeColor.DefaultColor property

Gets or sets the default color for the current theme color. The list of shades that are used depends on the default color.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property DefaultColor As Color
    Get
    Set
'Usage
Dim instance As ThemeColor
Dim value As Color

value = instance.DefaultColor

instance.DefaultColor = value
public Color DefaultColor { get; set; }

Property value

Type: System.Drawing.Color
A Color object that represents the default color.

See also

Reference

ThemeColor class

ThemeColor members

Microsoft.SharePoint.Utilities namespace