VSSWATCHMETRICS Structure
Contains metrics about a swatch control.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from ValueType.) |
![]() | GetHashCode() | (Inherited from ValueType.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from ValueType.) |
| Name | Description | |
|---|---|---|
![]() | cColumns | Number of columns; must be greater than or equal to 1. |
![]() | cRows | Number of rows/lines; must be greater than or equal to 1. |
![]() | cxCell | Width of each cell; 0 or -1 = current button width, -2 = default color cell width. |
![]() | cxCtrl | Preferred width of whole control. Office will override if it is too small; use 0 if you don't care. |
![]() | cyCell | Height of each cell; 0 or -1 = current button height, -2 = default color cell height. |
![]() | cyCtrl | Preferred height of whole control; Office will override if it is too small; use 0 if you don't care. |
![]() | dxBetween | Pixel width between cells; 0 or -1 = use default of 2 pixels. |
![]() | dyBetween | Pixel height between cells; 0 or -1 = use default of 2 pixels. |
![]() | fPaletteSensitive | 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.

