Holds information necessary to render a swatch control.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

public struct VSSWATCHRENDER

The VSSWATCHRENDER type exposes the following members.

Public methodEqualsIndicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from ValueType.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)

Public fieldgrfFlagsControl state. Values are taken from the __VSSWATCHRENDERFLAGS enumeration.
Public fieldhdcHDC to render image into.
Public fieldnAltitudeButton face altitude; -1 = lowered, 0 = normal, 1 = raised.
Public fieldprcBounding rectangle for image.
Public fieldxColumn coordinate of cell to render.
Public fieldyRow coordinate of cell to render.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions