XamlClassAttribute

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.

Class · Namespace LiveChartsCore.Generators · Assembly LiveChartsCore · View source

Inheritance

Object Attribute XamlClassAttribute

Members

Properties

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

Constructors

XamlClassAttribute 1 parameter

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