Win32ToWpfColorConverter Class
Data converter class for converting Win32 IVsUIWin32Color UI objects to WpfColorUIObject UI objects NOTE: In Win32, COLORREFs don't have transparency (even though they have space to store it) Converting color objects Win32->WPF will result in a solid color with no transparency
This API is not CLS-compliant.
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
<CLSCompliantAttribute(False)> _
Public NotInheritable Class Win32ToWpfColorConverter _
Implements IVsUIDataConverter
'Utilisation
Dim instance As Win32ToWpfColorConverter
[CLSCompliantAttribute(false)]
public sealed class Win32ToWpfColorConverter : IVsUIDataConverter
[CLSCompliantAttribute(false)]
public ref class Win32ToWpfColorConverter sealed : IVsUIDataConverter
[<SealedAttribute>]
[<CLSCompliantAttribute(false)>]
type Win32ToWpfColorConverter =
class
interface IVsUIDataConverter
end
public final class Win32ToWpfColorConverter implements IVsUIDataConverter
Inheritance Hierarchy
System.Object
Microsoft.Internal.VisualStudio.PlatformUI.Win32ToWpfColorConverter
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.