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

dxGaugeGetPredefinedStyleNames(TStringList) Method

Extracts the list of predefined styles available for all standard scales in the Gauge Control.

#Declaration

Delphi
procedure dxGaugeGetPredefinedStyleNames(AList: TStringList);

#Parameters

Name Type
AList TStringList

#Remarks

Use this procedure to obtain the full list of styles available for all scales provided by the Gauge Control. The AList parameter stores the list of style names extracted by the dxGaugeGetPredefinedStyleNames procedure.

Refer to the following code example for additional information:

var
  AList: TStringList;
  I: Integer;
//...
  AList := TStringList.Create;
  dxGaugeGetPredefinedStyleNames(AList);
  cxMemo1.Clear;
  for I := 0 to AList.Count - 1 do
    cxMemo1.Lines.Add(AList.Strings[I]);

Note

If you need to obtain the full list of visual styles currently supported by any registered scale type, use the dxGaugeGetRegisteredStyleNames method instead.

See Also