Share via


VSSWATCHRENDER Structure

Holds information necessary to render a swatch control.

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

Syntax

'Declaration
Public Structure VSSWATCHRENDER
public struct VSSWATCHRENDER
public value class VSSWATCHRENDER
[<Sealed>]
type VSSWATCHRENDER =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The VSSWATCHRENDER type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field grfFlags Control state. Values are taken from the __VSSWATCHRENDERFLAGS enumeration.
Public field hdc HDC to render image into.
Public field nAltitude Button face altitude; -1 = lowered, 0 = normal, 1 = raised.
Public field prc Bounding rectangle for image.
Public field x Column coordinate of cell to render.
Public field y Row coordinate of cell to render.

Top

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace