Back to Devexpress

dxGaugeGetPredefinedStyleNames(TStringList) Method

vcl-dxgaugecustomscale-dot-dxgaugegetpredefinedstylenames-x28-184b4f7c-x29.md

latest1.7 KB
Original Source

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

NameType
AListTStringList

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:

delphi
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]);
cpp
TStringList* AList;
  AList = new TStringList;
  dxGaugeGetPredefinedStyleNames(AList);
  cxMemo1->Clear();
  for (int I = 0; I < AList->Count; I++) {
    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

dxGaugeCustomScale Unit