Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSimpleColorPalette.GetStrokeColor(string) Method

Returns the line color.

#Declaration

Delphi
function GetStrokeColor(const ID: string): TdxAlphaColor; override;

#Parameters

Name Type
ID string

#Returns

Type
TdxAlphaColor

#Remarks

Call this function to obtain a color used to paint strokes and outlines. The GetStrokeColor function ignores a value passed as the ID parameter and always returns the StrokeColor property’s underlying field value.

The GetStrokeColor function is accessible via the IdxColorPalette interface and is called internally to paint lines in simple bicolor UI elements in DevExpress controls.

See Also