共用方式為


ThemeColor.DefaultColor property

取得或設定目前的佈景主題色彩的預設色彩。所使用的幽靈的清單取決於預設的色彩。

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

Syntax

'宣告
Public Property DefaultColor As Color
    Get
    Set
'用途
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
Color 物件,代表預設的色彩。

請參閱

參照

ThemeColor class

ThemeColor members

Microsoft.SharePoint.Utilities namespace