ImageThemingUtilities.GetImageBackgroundColor Method
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Public Shared Function GetImageBackgroundColor ( _
obj As DependencyObject _
) As Color
public static Color GetImageBackgroundColor(
DependencyObject obj
)
Parameters
- obj
Type: System.Windows.DependencyObject
Return Value
Type: System.Windows.Media.Color
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.