VSSWATCHMETRICS Structure

 

Contains metrics about a swatch control.

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

public struct VSSWATCHMETRICS

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_pubfieldcColumns

Number of columns; must be greater than or equal to 1.

System_CAPS_pubfieldcRows

Number of rows/lines; must be greater than or equal to 1.

System_CAPS_pubfieldcxCell

Width of each cell; 0 or -1 = current button width, -2 = default color cell width.

System_CAPS_pubfieldcxCtrl

Preferred width of whole control. Office will override if it is too small; use 0 if you don't care.

System_CAPS_pubfieldcyCell

Height of each cell; 0 or -1 = current button height, -2 = default color cell height.

System_CAPS_pubfieldcyCtrl

Preferred height of whole control; Office will override if it is too small; use 0 if you don't care.

System_CAPS_pubfielddxBetween

Pixel width between cells; 0 or -1 = use default of 2 pixels.

System_CAPS_pubfielddyBetween

Pixel height between cells; 0 or -1 = use default of 2 pixels.

System_CAPS_pubfieldfPaletteSensitive

true if the client image is sensitive to palette changes.

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: