Skip to main content
A newer version of this page is available. .

AppearanceRepository.GetAppearance(String, Boolean) Method

Finds an appearance with the specified name in a repository.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll

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