Skip to main content

dxGaugeGetPredefinedStyleNames(TStringList) Method

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

Declaration

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