VSDRAWITEMSTRUCT Structure

 

Represents information used by IVsImageButton to draw an owner-drawn control.

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

public struct VSDRAWITEMSTRUCT

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from ValueType.)

System_CAPS_pubmethodGetHashCode()

(Inherited from ValueType.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from ValueType.)

NameDescription
System_CAPS_pubfieldCtlID

Represents the identifier of the control.

System_CAPS_pubfieldCtlType

Represents the control type.

System_CAPS_pubfieldhdc

A handle to a device context; this device context must be used when performing drawing operations on the control.

System_CAPS_pubfieldhwndItem

A handle to the control for the button.

System_CAPS_pubfielditemAction

Represents the required drawing action.

System_CAPS_pubfielditemData

This is zero for a button control type.

System_CAPS_pubfielditemid

The identifier for the item, not used for buttons.

System_CAPS_pubfielditemState

The visual state of the item after the current drawing action takes place.

System_CAPS_pubfieldrcItem

A rectangle that defines the boundaries of the control to be drawn. This rectangle is in the device context specified by the hdc member. The system automatically clips anything that the owner window draws in the device context buttons.

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

Return to top
Show: