This documentation is archived and is not being maintained.

IVsSwatchClient Methods

The IVsSwatchClient type exposes the following members.

Public method GetCellTooltip Returns a tooltip string in pbstrTooltip, or null if none.
Public method GetEnabledCount The client returns a count of the enabled cells in this swatch control.
Public method GetMetrics Fills the struct with creation data for their swatch control.
Public method GetSelection Returns initial/current selection; or the value (-1, -1) if no selection.
Public method RealizePalette Realizes the specified palette and returns the old palette.
Public method RenderCell Renders the cell with the specified criteria, or returns an MSO control ID for one of Microsoft Office's standard controls.
Public method SelectCell Tells the client that swatch (x, y) was selected.
Public method SelectionUpdate Notifies the client of the current/updated selection.