AppearanceRepository.GetAppearance(String, Boolean) Method

Finds an appearance with the specified name in a repository.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.2.dll

Declaration

public ChartAppearance GetAppearance(
    string name,
    bool useDefault
)
Public Function GetAppearance(
    name As String,
    useDefault As Boolean
) As ChartAppearance

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