XamlClassAttribute
Class

Assembly LiveChartsCore
Namespace LiveChartsCore.Generators

Summary:
Marks a class to be generated as a XAML friendly object, LiveCharts will wrap the object in a XAML friendly object, then when a property changes in the XAML object, it updates the LiveCharts object.

Inheritance:
Object =>
Attribute =>
XamlClassAttribute

Constructors

// Marks a class to be generated as a XAML friendly object, LiveCharts will wrap the object in a XAML friendly object, then when a property changes in the XAML object, it updates the LiveCharts object.
Type basedOn// The base type
)

Properties

The base type.
Type: Type
Map
Also maps the specified type.
Type: Type
The path to the map.
Type: String
The header to add to the generated file.
Type: String
Indicates whether the generator should generate the OnPropertyChanged method, default is true.
Type: Boolean
A string with the property change map e.g. MyProperty{=}MyMapMethod{,}MyOtherProperty{=}MyOtherMapMethod.
Type: String
A string with the property type overrides e.g. MyProperty{=}double{,}MyOtherProperty{=}object.
Type: String
A string with the property name overrides e.g. MyProperty{=}double{,}MyOtherProperty{=}object.
Type: String
Indicates whether the generator should generate the base type declaration, default is true.
Type: Boolean
Indicates the type of the model.
Type: Type
Indicates the type of the visual.
Type: Type
Indicates the type of the label.
Type: Type