共用方式為


ThemeColor.Shades Property

Gets a collection consisting of six Color instances, each representing a different shade based on the default color.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property Shades As ReadOnlyCollection(Of Color)
    Get
'Usage
Dim instance As ThemeColor
Dim value As ReadOnlyCollection(Of Color)

value = instance.Shades
public ReadOnlyCollection<Color> Shades { get; }

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<Color>
The collection consisting of different shades based on the default color.

See Also

Reference

ThemeColor Class

ThemeColor Members

Microsoft.SharePoint.Utilities Namespace