Skip to main content

AppearanceRepository.GetAppearance(String, Boolean) Method

Finds an appearance with the specified name in a repository.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v22.2.dll

NuGet Package: DevExpress.Charts


public ChartAppearance GetAppearance(
    string name,
    bool useDefault


Name Type Description
name String

A String specifying the name of an appearance.

useDefault Boolean

true to use the default appearance, if there is no appearance with the specified name within a repository; otherwise, false.


Type Description

A ChartAppearance object which is the appearance with the specified name.

See Also