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.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

public ChartAppearance GetAppearance(
    string name,
    bool useDefault
)

Parameters

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.

Returns

Type Description
ChartAppearance

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

See Also