dxGaugeGetRegisteredStyleNames(TdxGaugeScaleType,TStringList) Method
Extracts the list of visual styles available for the specified scale type.
Declaration
procedure dxGaugeGetRegisteredStyleNames(AScaleType: TdxGaugeScaleType; AList: TStringList);
Parameters
Name | Type |
---|---|
AScaleType | TdxGaugeScaleType |
AList | TStringList |
Remarks
Use this procedure to identify which visual styles are currently available for the scale type specified as the AScaleType parameter. The AList parameter stores the list of style names extracted by the dxGaugeGetRegisteredStyleNames procedure.
The following code example extracts the full list of visual styles currently supported by circular scales and outputs it to the TcxMemo visual component:
var
AList: TStringList;
I: Integer;
//...
AList := TStringList.Create;
dxGaugeGetRegisteredStyleNames(stCircularScale, AList);
cxMemo1.Clear;
for I := 0 to AList.Count - 1 do
cxMemo1.Lines.Add(AList.Strings[I]);
Note
If you need to obtain the list of predefined style names, use the dxGaugeGetPredefinedStyleNames method instead.
See Also