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

TdxCustomColorPalette.GetStrokeColor(string) Method

Returns a color by its unique identifier (name) within the strokes palette.

#Declaration

Delphi
function GetStrokeColor(const ID: string): TdxAlphaColor; virtual; abstract;

#Parameters

Name Type
ID string

#Returns

Type
TdxAlphaColor

#Remarks

This function does not have an implementation of the functionality that allows you to obtain colors from the strokes palette. Each TdxCustomColorPalette class descendant that implements a particular color palette container provides its own GetStrokeColor function implementation. Note that certain implementations ignore a string passed as the ID parameter.

See Also