Tries to get the color for a given category, returning true upon success.
Namespace: Spotfire.Dxp.Application.Visuals
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax
C#
public bool TryGetColor( CategoryKey category, out Color color )
Parameters
- category
- Type: Spotfire.Dxp.Application.VisualsCategoryKey
A CategoryKey object identifying the category. - color
- Type: System.DrawingColor
When this method returns, contains the color associated with the specified category, if one is found; otherwise Color.Empty.
Return Value
Type: Booleantrue if this instance contains a color for the specified category; otherwise, false.
Version Information
See Also