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.
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 header to add to the generated file.
Type: String
Type: String
Indicates whether the generator should generate the OnPropertyChanged method, default is true.
Type: Boolean
Type: Boolean
A string with the property change map e.g.
MyProperty{=}MyMapMethod{,}MyOtherProperty{=}MyOtherMapMethod.
Type: String
Type: String
A string with the property type overrides e.g.
MyProperty{=}double{,}MyOtherProperty{=}object.
Type: String
Type: String
A string with the property name overrides e.g.
MyProperty{=}double{,}MyOtherProperty{=}object.
Type: String
Type: String
Indicates whether the generator should generate the base type declaration, default is true.
Type: Boolean
Type: Boolean