diff --git a/src/KubeUI.Core/ControlExtensions.Generated/AspectRatioLayoutItem_MarkupExtensions.g.cs b/src/KubeUI.Core/ControlExtensions.Generated/AspectRatioLayoutItem_MarkupExtensions.g.cs new file mode 100644 index 00000000..ddb366d3 --- /dev/null +++ b/src/KubeUI.Core/ControlExtensions.Generated/AspectRatioLayoutItem_MarkupExtensions.g.cs @@ -0,0 +1,86 @@ +#nullable enable +using Avalonia.Data; +using Avalonia.Data.Converters; +using System; +using System.Linq.Expressions; +using System.Numerics; +using System.Runtime.CompilerServices; + +namespace Avalonia.Markup.Declarative; +[global::System.CodeDom.Compiler.GeneratedCode("AvaloniaExtensionGenerator", "1.0.0.0")] +[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] +public static partial class AspectRatioLayoutItem_MarkupExtensions +{ +//================= Properties ======================// + // StartAspectRatioValue + +/*BindFromExpressionSetterGenerator*/ +public static T StartAspectRatioValue(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.AspectRatioLayoutItem + => control._set(Ursa.Controls.AspectRatioLayoutItem.StartAspectRatioValueProperty, func, onChanged, expression); + +/*MagicalSetterGenerator*/ +public static T StartAspectRatioValue(this T control,System.Double value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.AspectRatioLayoutItem +=> control._setEx(Ursa.Controls.AspectRatioLayoutItem.StartAspectRatioValueProperty, ps, () => control.StartAspectRatioValue = value, bindingMode, converter, bindingSource); + +/*BindSetterGenerator*/ +public static T StartAspectRatioValue(this T control, IBinding binding) where T : Ursa.Controls.AspectRatioLayoutItem + => control._set(Ursa.Controls.AspectRatioLayoutItem.StartAspectRatioValueProperty, binding); + +/*AvaloniaPropertyBindSetterGenerator*/ +public static T StartAspectRatioValue(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.AspectRatioLayoutItem + => control._set(Ursa.Controls.AspectRatioLayoutItem.StartAspectRatioValueProperty, avaloniaProperty, bindingMode, converter, overrideView); + +/*MagicalSetterWithConverterGenerator*/ +public static T StartAspectRatioValue(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.AspectRatioLayoutItem +=> control._setEx(Ursa.Controls.AspectRatioLayoutItem.StartAspectRatioValueProperty, ps, () => control.StartAspectRatioValue = converter.TryConvert(value), bindingMode, converter, bindingSource); + + + // EndAspectRatioValue + +/*BindFromExpressionSetterGenerator*/ +public static T EndAspectRatioValue(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.AspectRatioLayoutItem + => control._set(Ursa.Controls.AspectRatioLayoutItem.EndAspectRatioValueProperty, func, onChanged, expression); + +/*MagicalSetterGenerator*/ +public static T EndAspectRatioValue(this T control,System.Double value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.AspectRatioLayoutItem +=> control._setEx(Ursa.Controls.AspectRatioLayoutItem.EndAspectRatioValueProperty, ps, () => control.EndAspectRatioValue = value, bindingMode, converter, bindingSource); + +/*BindSetterGenerator*/ +public static T EndAspectRatioValue(this T control, IBinding binding) where T : Ursa.Controls.AspectRatioLayoutItem + => control._set(Ursa.Controls.AspectRatioLayoutItem.EndAspectRatioValueProperty, binding); + +/*AvaloniaPropertyBindSetterGenerator*/ +public static T EndAspectRatioValue(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.AspectRatioLayoutItem + => control._set(Ursa.Controls.AspectRatioLayoutItem.EndAspectRatioValueProperty, avaloniaProperty, bindingMode, converter, overrideView); + +/*MagicalSetterWithConverterGenerator*/ +public static T EndAspectRatioValue(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.AspectRatioLayoutItem +=> control._setEx(Ursa.Controls.AspectRatioLayoutItem.EndAspectRatioValueProperty, ps, () => control.EndAspectRatioValue = converter.TryConvert(value), bindingMode, converter, bindingSource); + + + +//================= Styles ======================// + // StartAspectRatioValue + +/*ValueStyleSetterGenerator*/ +public static Style StartAspectRatioValue(this Style style, System.Double value) where T : Ursa.Controls.AspectRatioLayoutItem +=> style._addSetter(Ursa.Controls.AspectRatioLayoutItem.StartAspectRatioValueProperty, value); + +/*BindingStyleSetterGenerator*/ +public static Style StartAspectRatioValue(this Style style, IBinding binding) where T : Ursa.Controls.AspectRatioLayoutItem +=> style._addSetter(Ursa.Controls.AspectRatioLayoutItem.StartAspectRatioValueProperty, binding); + + + // EndAspectRatioValue + +/*ValueStyleSetterGenerator*/ +public static Style EndAspectRatioValue(this Style style, System.Double value) where T : Ursa.Controls.AspectRatioLayoutItem +=> style._addSetter(Ursa.Controls.AspectRatioLayoutItem.EndAspectRatioValueProperty, value); + +/*BindingStyleSetterGenerator*/ +public static Style EndAspectRatioValue(this Style style, IBinding binding) where T : Ursa.Controls.AspectRatioLayoutItem +=> style._addSetter(Ursa.Controls.AspectRatioLayoutItem.EndAspectRatioValueProperty, binding); + + + +} diff --git a/src/KubeUI.Core/ControlExtensions.Generated/AspectRatioLayout_MarkupExtensions.g.cs b/src/KubeUI.Core/ControlExtensions.Generated/AspectRatioLayout_MarkupExtensions.g.cs new file mode 100644 index 00000000..a8ff28d3 --- /dev/null +++ b/src/KubeUI.Core/ControlExtensions.Generated/AspectRatioLayout_MarkupExtensions.g.cs @@ -0,0 +1,143 @@ +#nullable enable +using Avalonia.Data; +using Avalonia.Data.Converters; +using System; +using System.Linq.Expressions; +using System.Numerics; +using System.Runtime.CompilerServices; + +namespace Avalonia.Markup.Declarative; +[global::System.CodeDom.Compiler.GeneratedCode("AvaloniaExtensionGenerator", "1.0.0.0")] +[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] +public static partial class AspectRatioLayout_MarkupExtensions +{ +//================= Properties ======================// + // Items + +/*BindFromExpressionSetterGenerator*/ +public static T Items(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.AspectRatioLayout + => control._set(Ursa.Controls.AspectRatioLayout.ItemsProperty, func, onChanged, expression); + +/*MagicalSetterGenerator*/ +public static T Items(this T control,System.Collections.Generic.List value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.AspectRatioLayout +=> control._setEx(Ursa.Controls.AspectRatioLayout.ItemsProperty, ps, () => control.Items = value, bindingMode, converter, bindingSource); + +/*BindSetterGenerator*/ +public static T Items(this T control, IBinding binding) where T : Ursa.Controls.AspectRatioLayout + => control._set(Ursa.Controls.AspectRatioLayout.ItemsProperty, binding); + +/*AvaloniaPropertyBindSetterGenerator*/ +public static T Items(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.AspectRatioLayout + => control._set(Ursa.Controls.AspectRatioLayout.ItemsProperty, avaloniaProperty, bindingMode, converter, overrideView); + +/*MagicalSetterWithConverterGenerator*/ +public static T Items(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.AspectRatioLayout +=> control._setEx(Ursa.Controls.AspectRatioLayout.ItemsProperty, ps, () => control.Items = converter.TryConvert(value), bindingMode, converter, bindingSource); + + + // AspectRatioTolerance + +/*BindFromExpressionSetterGenerator*/ +public static T AspectRatioTolerance(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.AspectRatioLayout + => control._set(Ursa.Controls.AspectRatioLayout.AspectRatioToleranceProperty, func, onChanged, expression); + +/*MagicalSetterGenerator*/ +public static T AspectRatioTolerance(this T control,System.Double value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.AspectRatioLayout +=> control._setEx(Ursa.Controls.AspectRatioLayout.AspectRatioToleranceProperty, ps, () => control.AspectRatioTolerance = value, bindingMode, converter, bindingSource); + +/*BindSetterGenerator*/ +public static T AspectRatioTolerance(this T control, IBinding binding) where T : Ursa.Controls.AspectRatioLayout + => control._set(Ursa.Controls.AspectRatioLayout.AspectRatioToleranceProperty, binding); + +/*AvaloniaPropertyBindSetterGenerator*/ +public static T AspectRatioTolerance(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.AspectRatioLayout + => control._set(Ursa.Controls.AspectRatioLayout.AspectRatioToleranceProperty, avaloniaProperty, bindingMode, converter, overrideView); + +/*MagicalSetterWithConverterGenerator*/ +public static T AspectRatioTolerance(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.AspectRatioLayout +=> control._setEx(Ursa.Controls.AspectRatioLayout.AspectRatioToleranceProperty, ps, () => control.AspectRatioTolerance = converter.TryConvert(value), bindingMode, converter, bindingSource); + + + // CurrentAspectRatioMode + +/*BindFromExpressionSetterGenerator*/ +public static T CurrentAspectRatioMode(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.AspectRatioLayout + => control._set(Ursa.Controls.AspectRatioLayout.CurrentAspectRatioModeProperty, func, onChanged, expression); + +/*MagicalSetterGenerator*/ +public static T CurrentAspectRatioMode(this T control,Ursa.Controls.AspectRatioMode value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.AspectRatioLayout +=> control._setEx(Ursa.Controls.AspectRatioLayout.CurrentAspectRatioModeProperty, ps, () => control.CurrentAspectRatioMode = value, bindingMode, converter, bindingSource); + +/*BindSetterGenerator*/ +public static T CurrentAspectRatioMode(this T control, IBinding binding) where T : Ursa.Controls.AspectRatioLayout + => control._set(Ursa.Controls.AspectRatioLayout.CurrentAspectRatioModeProperty, binding); + +/*AvaloniaPropertyBindSetterGenerator*/ +public static T CurrentAspectRatioMode(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.AspectRatioLayout + => control._set(Ursa.Controls.AspectRatioLayout.CurrentAspectRatioModeProperty, avaloniaProperty, bindingMode, converter, overrideView); + +/*MagicalSetterWithConverterGenerator*/ +public static T CurrentAspectRatioMode(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.AspectRatioLayout +=> control._setEx(Ursa.Controls.AspectRatioLayout.CurrentAspectRatioModeProperty, ps, () => control.CurrentAspectRatioMode = converter.TryConvert(value), bindingMode, converter, bindingSource); + + + // AspectRatioValue + +/*BindFromExpressionSetterGenerator*/ +public static T AspectRatioValue(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.AspectRatioLayout + => control._set(Ursa.Controls.AspectRatioLayout.AspectRatioValueProperty, func, onChanged, expression); + +/*MagicalSetterGenerator*/ +public static T AspectRatioValue(this T control,System.Double value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.AspectRatioLayout +=> control._setEx(Ursa.Controls.AspectRatioLayout.AspectRatioValueProperty, ps, () => control.AspectRatioValue = value, bindingMode, converter, bindingSource); + +/*BindSetterGenerator*/ +public static T AspectRatioValue(this T control, IBinding binding) where T : Ursa.Controls.AspectRatioLayout + => control._set(Ursa.Controls.AspectRatioLayout.AspectRatioValueProperty, binding); + +/*AvaloniaPropertyBindSetterGenerator*/ +public static T AspectRatioValue(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.AspectRatioLayout + => control._set(Ursa.Controls.AspectRatioLayout.AspectRatioValueProperty, avaloniaProperty, bindingMode, converter, overrideView); + +/*MagicalSetterWithConverterGenerator*/ +public static T AspectRatioValue(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.AspectRatioLayout +=> control._setEx(Ursa.Controls.AspectRatioLayout.AspectRatioValueProperty, ps, () => control.AspectRatioValue = converter.TryConvert(value), bindingMode, converter, bindingSource); + + + +//================= Styles ======================// + // Items + +/*ValueStyleSetterGenerator*/ +public static Style Items(this Style style, System.Collections.Generic.List value) where T : Ursa.Controls.AspectRatioLayout +=> style._addSetter(Ursa.Controls.AspectRatioLayout.ItemsProperty, value); + +/*BindingStyleSetterGenerator*/ +public static Style Items(this Style style, IBinding binding) where T : Ursa.Controls.AspectRatioLayout +=> style._addSetter(Ursa.Controls.AspectRatioLayout.ItemsProperty, binding); + + + // AspectRatioTolerance + +/*ValueStyleSetterGenerator*/ +public static Style AspectRatioTolerance(this Style style, System.Double value) where T : Ursa.Controls.AspectRatioLayout +=> style._addSetter(Ursa.Controls.AspectRatioLayout.AspectRatioToleranceProperty, value); + +/*BindingStyleSetterGenerator*/ +public static Style AspectRatioTolerance(this Style style, IBinding binding) where T : Ursa.Controls.AspectRatioLayout +=> style._addSetter(Ursa.Controls.AspectRatioLayout.AspectRatioToleranceProperty, binding); + + + // AspectRatioValue + +/*ValueStyleSetterGenerator*/ +public static Style AspectRatioValue(this Style style, System.Double value) where T : Ursa.Controls.AspectRatioLayout +=> style._addSetter(Ursa.Controls.AspectRatioLayout.AspectRatioValueProperty, value); + +/*BindingStyleSetterGenerator*/ +public static Style AspectRatioValue(this Style style, IBinding binding) where T : Ursa.Controls.AspectRatioLayout +=> style._addSetter(Ursa.Controls.AspectRatioLayout.AspectRatioValueProperty, binding); + + + +} diff --git a/src/KubeUI.Core/ControlExtensions.Generated/CalendarYearButton_MarkupExtensions.g.cs b/src/KubeUI.Core/ControlExtensions.Generated/CalendarYearButton_MarkupExtensions.g.cs index 09a975a1..2dea8278 100644 --- a/src/KubeUI.Core/ControlExtensions.Generated/CalendarYearButton_MarkupExtensions.g.cs +++ b/src/KubeUI.Core/ControlExtensions.Generated/CalendarYearButton_MarkupExtensions.g.cs @@ -15,11 +15,11 @@ public static partial class CalendarYearButton_MarkupExtensions // ItemSelected /*ActionToEventGenerator*/ -//public static T OnItemSelected(this T control, Action action, Avalonia.Interactivity.RoutingStrategies routes = Avalonia.Interactivity.RoutingStrategies.Tunnel | Avalonia.Interactivity.RoutingStrategies.Bubble) where T : Ursa.Controls.CalendarYearButton -//{ -// control.AddHandler(Ursa.Controls.CalendarYearButton.ItemSelectedEvent, (_, args) => action(args), routes); -// return control; -//} +public static T OnItemSelected(this T control, Action action, Avalonia.Interactivity.RoutingStrategies routes = Avalonia.Interactivity.RoutingStrategies.Tunnel | Avalonia.Interactivity.RoutingStrategies.Bubble) where T : Ursa.Controls.CalendarYearButton +{ + control.AddHandler(Ursa.Controls.CalendarYearButton.ItemSelectedEvent, (_, args) => action(args), routes); + return control; +} diff --git a/src/KubeUI.Core/ControlExtensions.Generated/CartesianChart_MarkupExtensions.g.cs b/src/KubeUI.Core/ControlExtensions.Generated/CartesianChart_MarkupExtensions.g.cs index db230d4b..8d723a59 100644 --- a/src/KubeUI.Core/ControlExtensions.Generated/CartesianChart_MarkupExtensions.g.cs +++ b/src/KubeUI.Core/ControlExtensions.Generated/CartesianChart_MarkupExtensions.g.cs @@ -61,11 +61,11 @@ public static T SyncContext(this T control, TValue value, FuncValueCon // Title /*BindFromExpressionSetterGenerator*/ -public static T Title(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T Title(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.TitleProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T Title(this T control,LiveChartsCore.VisualElements.VisualElement value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T Title(this T control,LiveChartsCore.VisualElements.VisualElement value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.TitleProperty, ps, () => control.Title = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -77,7 +77,7 @@ public static T Title(this T control, AvaloniaProperty avaloniaProperty, Bind => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.TitleProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T Title(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T Title(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.TitleProperty, ps, () => control.Title = converter.TryConvert(value), bindingMode, converter, bindingSource); @@ -153,11 +153,11 @@ public static T YAxes(this T control, TValue value, FuncValueConverter // Sections /*BindFromExpressionSetterGenerator*/ -public static T Sections(this T control, Func>> func, Action>>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T Sections(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.SectionsProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T Sections(this T control,System.Collections.Generic.IEnumerable> value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T Sections(this T control,System.Collections.Generic.IEnumerable value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.SectionsProperty, ps, () => control.Sections = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -169,18 +169,18 @@ public static T Sections(this T control, AvaloniaProperty avaloniaProperty, B => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.SectionsProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T Sections(this T control, TValue value, FuncValueConverter>> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T Sections(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.SectionsProperty, ps, () => control.Sections = converter.TryConvert(value), bindingMode, converter, bindingSource); // VisualElements /*BindFromExpressionSetterGenerator*/ -public static T VisualElements(this T control, Func>> func, Action>>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T VisualElements(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.VisualElementsProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T VisualElements(this T control,System.Collections.Generic.IEnumerable> value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T VisualElements(this T control,System.Collections.Generic.IEnumerable value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.VisualElementsProperty, ps, () => control.VisualElements = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -192,18 +192,18 @@ public static T VisualElements(this T control, AvaloniaProperty avaloniaPrope => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.VisualElementsProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T VisualElements(this T control, TValue value, FuncValueConverter>> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T VisualElements(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.VisualElementsProperty, ps, () => control.VisualElements = converter.TryConvert(value), bindingMode, converter, bindingSource); // DrawMarginFrame /*BindFromExpressionSetterGenerator*/ -public static T DrawMarginFrame(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T DrawMarginFrame(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.DrawMarginFrameProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T DrawMarginFrame(this T control,LiveChartsCore.DrawMarginFrame value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T DrawMarginFrame(this T control,LiveChartsCore.CoreDrawMarginFrame value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.DrawMarginFrameProperty, ps, () => control.DrawMarginFrame = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -215,7 +215,7 @@ public static T DrawMarginFrame(this T control, AvaloniaProperty avaloniaProp => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.DrawMarginFrameProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T DrawMarginFrame(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T DrawMarginFrame(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.DrawMarginFrameProperty, ps, () => control.DrawMarginFrame = converter.TryConvert(value), bindingMode, converter, bindingSource); @@ -334,37 +334,37 @@ public static T TooltipPosition(this T control, TValue value, FuncValu => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.TooltipPositionProperty, ps, () => control.TooltipPosition = converter.TryConvert(value), bindingMode, converter, bindingSource); - // TooltipFindingStrategy + // FindingStrategy /*BindFromExpressionSetterGenerator*/ -public static T TooltipFindingStrategy(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart - => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.TooltipFindingStrategyProperty, func, onChanged, expression); +public static T FindingStrategy(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart + => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.FindingStrategyProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T TooltipFindingStrategy(this T control,LiveChartsCore.Measure.TooltipFindingStrategy value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart -=> control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.TooltipFindingStrategyProperty, ps, () => control.TooltipFindingStrategy = value, bindingMode, converter, bindingSource); +public static T FindingStrategy(this T control,LiveChartsCore.Measure.FindingStrategy value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +=> control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.FindingStrategyProperty, ps, () => control.FindingStrategy = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ -public static T TooltipFindingStrategy(this T control, IBinding binding) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart - => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.TooltipFindingStrategyProperty, binding); +public static T FindingStrategy(this T control, IBinding binding) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart + => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.FindingStrategyProperty, binding); /*AvaloniaPropertyBindSetterGenerator*/ -public static T TooltipFindingStrategy(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart - => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.TooltipFindingStrategyProperty, avaloniaProperty, bindingMode, converter, overrideView); +public static T FindingStrategy(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart + => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.FindingStrategyProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T TooltipFindingStrategy(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart -=> control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.TooltipFindingStrategyProperty, ps, () => control.TooltipFindingStrategy = converter.TryConvert(value), bindingMode, converter, bindingSource); +public static T FindingStrategy(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +=> control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.FindingStrategyProperty, ps, () => control.FindingStrategy = converter.TryConvert(value), bindingMode, converter, bindingSource); // TooltipBackgroundPaint /*BindFromExpressionSetterGenerator*/ -public static T TooltipBackgroundPaint(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T TooltipBackgroundPaint(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.TooltipBackgroundPaintProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T TooltipBackgroundPaint(this T control,LiveChartsCore.Drawing.IPaint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T TooltipBackgroundPaint(this T control,LiveChartsCore.Painting.Paint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.TooltipBackgroundPaintProperty, ps, () => control.TooltipBackgroundPaint = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -376,18 +376,18 @@ public static T TooltipBackgroundPaint(this T control, AvaloniaProperty avalo => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.TooltipBackgroundPaintProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T TooltipBackgroundPaint(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T TooltipBackgroundPaint(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.TooltipBackgroundPaintProperty, ps, () => control.TooltipBackgroundPaint = converter.TryConvert(value), bindingMode, converter, bindingSource); // TooltipTextPaint /*BindFromExpressionSetterGenerator*/ -public static T TooltipTextPaint(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T TooltipTextPaint(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.TooltipTextPaintProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T TooltipTextPaint(this T control,LiveChartsCore.Drawing.IPaint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T TooltipTextPaint(this T control,LiveChartsCore.Painting.Paint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.TooltipTextPaintProperty, ps, () => control.TooltipTextPaint = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -399,18 +399,18 @@ public static T TooltipTextPaint(this T control, AvaloniaProperty avaloniaPro => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.TooltipTextPaintProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T TooltipTextPaint(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T TooltipTextPaint(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.TooltipTextPaintProperty, ps, () => control.TooltipTextPaint = converter.TryConvert(value), bindingMode, converter, bindingSource); // TooltipTextSize /*BindFromExpressionSetterGenerator*/ -public static T TooltipTextSize(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T TooltipTextSize(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.TooltipTextSizeProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T TooltipTextSize(this T control,System.Nullable value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T TooltipTextSize(this T control,System.Double value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.TooltipTextSizeProperty, ps, () => control.TooltipTextSize = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -422,7 +422,7 @@ public static T TooltipTextSize(this T control, AvaloniaProperty avaloniaProp => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.TooltipTextSizeProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T TooltipTextSize(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T TooltipTextSize(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.TooltipTextSizeProperty, ps, () => control.TooltipTextSize = converter.TryConvert(value), bindingMode, converter, bindingSource); @@ -452,11 +452,11 @@ public static T LegendPosition(this T control, TValue value, FuncValue // LegendBackgroundPaint /*BindFromExpressionSetterGenerator*/ -public static T LegendBackgroundPaint(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T LegendBackgroundPaint(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.LegendBackgroundPaintProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T LegendBackgroundPaint(this T control,LiveChartsCore.Drawing.IPaint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T LegendBackgroundPaint(this T control,LiveChartsCore.Painting.Paint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.LegendBackgroundPaintProperty, ps, () => control.LegendBackgroundPaint = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -468,18 +468,18 @@ public static T LegendBackgroundPaint(this T control, AvaloniaProperty avalon => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.LegendBackgroundPaintProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T LegendBackgroundPaint(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T LegendBackgroundPaint(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.LegendBackgroundPaintProperty, ps, () => control.LegendBackgroundPaint = converter.TryConvert(value), bindingMode, converter, bindingSource); // LegendTextPaint /*BindFromExpressionSetterGenerator*/ -public static T LegendTextPaint(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T LegendTextPaint(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.LegendTextPaintProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T LegendTextPaint(this T control,LiveChartsCore.Drawing.IPaint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T LegendTextPaint(this T control,LiveChartsCore.Painting.Paint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.LegendTextPaintProperty, ps, () => control.LegendTextPaint = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -491,18 +491,18 @@ public static T LegendTextPaint(this T control, AvaloniaProperty avaloniaProp => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.LegendTextPaintProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T LegendTextPaint(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T LegendTextPaint(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.LegendTextPaintProperty, ps, () => control.LegendTextPaint = converter.TryConvert(value), bindingMode, converter, bindingSource); // LegendTextSize /*BindFromExpressionSetterGenerator*/ -public static T LegendTextSize(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T LegendTextSize(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.LegendTextSizeProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T LegendTextSize(this T control,System.Nullable value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T LegendTextSize(this T control,System.Double value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.LegendTextSizeProperty, ps, () => control.LegendTextSize = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -514,7 +514,7 @@ public static T LegendTextSize(this T control, AvaloniaProperty avaloniaPrope => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.LegendTextSizeProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T LegendTextSize(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +public static T LegendTextSize(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.LegendTextSizeProperty, ps, () => control.LegendTextSize = converter.TryConvert(value), bindingMode, converter, bindingSource); @@ -633,27 +633,27 @@ public static T DataPointerDownCommand(this T control, TValue value, F => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.DataPointerDownCommandProperty, ps, () => control.DataPointerDownCommand = converter.TryConvert(value), bindingMode, converter, bindingSource); - // ChartPointPointerDownCommand + // HoveredPointsChangedCommand /*BindFromExpressionSetterGenerator*/ -public static T ChartPointPointerDownCommand(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart - => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.ChartPointPointerDownCommandProperty, func, onChanged, expression); +public static T HoveredPointsChangedCommand(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart + => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.HoveredPointsChangedCommandProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T ChartPointPointerDownCommand(this T control,System.Windows.Input.ICommand value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart -=> control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.ChartPointPointerDownCommandProperty, ps, () => control.ChartPointPointerDownCommand = value, bindingMode, converter, bindingSource); +public static T HoveredPointsChangedCommand(this T control,System.Windows.Input.ICommand value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +=> control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.HoveredPointsChangedCommandProperty, ps, () => control.HoveredPointsChangedCommand = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ -public static T ChartPointPointerDownCommand(this T control, IBinding binding) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart - => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.ChartPointPointerDownCommandProperty, binding); +public static T HoveredPointsChangedCommand(this T control, IBinding binding) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart + => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.HoveredPointsChangedCommandProperty, binding); /*AvaloniaPropertyBindSetterGenerator*/ -public static T ChartPointPointerDownCommand(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart - => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.ChartPointPointerDownCommandProperty, avaloniaProperty, bindingMode, converter, overrideView); +public static T HoveredPointsChangedCommand(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart + => control._set(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.HoveredPointsChangedCommandProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T ChartPointPointerDownCommand(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart -=> control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.ChartPointPointerDownCommandProperty, ps, () => control.ChartPointPointerDownCommand = converter.TryConvert(value), bindingMode, converter, bindingSource); +public static T HoveredPointsChangedCommand(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart +=> control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.HoveredPointsChangedCommandProperty, ps, () => control.HoveredPointsChangedCommand = converter.TryConvert(value), bindingMode, converter, bindingSource); // VisualElementsPointerDownCommand @@ -684,22 +684,22 @@ public static T VisualElementsPointerDownCommand(this T control, TValu // Measuring /*ActionToEventGenerator*/ -public static T OnMeasuring(this T control, Action> action) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => - control._setEvent((LiveChartsCore.Kernel.Events.ChartEventHandler) ((arg0) => action(arg0)), h => control.Measuring += h); +public static T OnMeasuring(this T control, Action action) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => + control._setEvent((LiveChartsCore.Kernel.Events.ChartEventHandler) ((arg0) => action(arg0)), h => control.Measuring += h); // UpdateStarted /*ActionToEventGenerator*/ -public static T OnUpdateStarted(this T control, Action> action) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => - control._setEvent((LiveChartsCore.Kernel.Events.ChartEventHandler) ((arg0) => action(arg0)), h => control.UpdateStarted += h); +public static T OnUpdateStarted(this T control, Action action) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => + control._setEvent((LiveChartsCore.Kernel.Events.ChartEventHandler) ((arg0) => action(arg0)), h => control.UpdateStarted += h); // UpdateFinished /*ActionToEventGenerator*/ -public static T OnUpdateFinished(this T control, Action> action) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => - control._setEvent((LiveChartsCore.Kernel.Events.ChartEventHandler) ((arg0) => action(arg0)), h => control.UpdateFinished += h); +public static T OnUpdateFinished(this T control, Action action) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => + control._setEvent((LiveChartsCore.Kernel.Events.ChartEventHandler) ((arg0) => action(arg0)), h => control.UpdateFinished += h); // DataPointerDown @@ -709,6 +709,13 @@ public static T OnDataPointerDown(this T control, Action action(arg0, arg1)), h => control.DataPointerDown += h); + // HoveredPointsChanged + +/*ActionToEventGenerator*/ +public static T OnHoveredPointsChanged(this T control, Action, System.Collections.Generic.IEnumerable> action) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => + control._setEvent((LiveChartsCore.Kernel.Events.ChartPointHoverHandler) ((arg0, arg1, arg2) => action(arg0, arg1, arg2)), h => control.HoveredPointsChanged += h); + + // ChartPointPointerDown /*ActionToEventGenerator*/ @@ -719,8 +726,8 @@ public static T OnChartPointPointerDown(this T control, Action(this T control, Action> action) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => - control._setEvent((LiveChartsCore.Kernel.Events.VisualElementsHandler) ((arg0, arg1) => action(arg0, arg1)), h => control.VisualElementsPointerDown += h); +public static T OnVisualElementsPointerDown(this T control, Action action) where T : LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart => + control._setEvent((LiveChartsCore.Kernel.Events.VisualElementsHandler) ((arg0, arg1) => action(arg0, arg1)), h => control.VisualElementsPointerDown += h); diff --git a/src/KubeUI.Core/ControlExtensions.Generated/GeoMap_MarkupExtensions.g.cs b/src/KubeUI.Core/ControlExtensions.Generated/GeoMap_MarkupExtensions.g.cs index f58b9e4f..dec620d5 100644 --- a/src/KubeUI.Core/ControlExtensions.Generated/GeoMap_MarkupExtensions.g.cs +++ b/src/KubeUI.Core/ControlExtensions.Generated/GeoMap_MarkupExtensions.g.cs @@ -15,11 +15,11 @@ public static partial class GeoMap_MarkupExtensions // ActiveMap /*BindFromExpressionSetterGenerator*/ -public static T ActiveMap(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.GeoMap +public static T ActiveMap(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.GeoMap => control._set(LiveChartsCore.SkiaSharpView.Avalonia.GeoMap.ActiveMapProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T ActiveMap(this T control,LiveChartsCore.Geo.CoreMap value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.GeoMap +public static T ActiveMap(this T control,LiveChartsCore.Geo.DrawnMap value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.GeoMap => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.GeoMap.ActiveMapProperty, ps, () => control.ActiveMap = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -31,7 +31,7 @@ public static T ActiveMap(this T control, AvaloniaProperty avaloniaProperty, => control._set(LiveChartsCore.SkiaSharpView.Avalonia.GeoMap.ActiveMapProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T ActiveMap(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.GeoMap +public static T ActiveMap(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.GeoMap => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.GeoMap.ActiveMapProperty, ps, () => control.ActiveMap = converter.TryConvert(value), bindingMode, converter, bindingSource); @@ -130,11 +130,11 @@ public static T Series(this T control, TValue value, FuncValueConverte // Stroke /*BindFromExpressionSetterGenerator*/ -public static T Stroke(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.GeoMap +public static T Stroke(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.GeoMap => control._set(LiveChartsCore.SkiaSharpView.Avalonia.GeoMap.StrokeProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T Stroke(this T control,LiveChartsCore.Drawing.IPaint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.GeoMap +public static T Stroke(this T control,LiveChartsCore.Painting.Paint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.GeoMap => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.GeoMap.StrokeProperty, ps, () => control.Stroke = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -146,18 +146,18 @@ public static T Stroke(this T control, AvaloniaProperty avaloniaProperty, Bin => control._set(LiveChartsCore.SkiaSharpView.Avalonia.GeoMap.StrokeProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T Stroke(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.GeoMap +public static T Stroke(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.GeoMap => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.GeoMap.StrokeProperty, ps, () => control.Stroke = converter.TryConvert(value), bindingMode, converter, bindingSource); // Fill /*BindFromExpressionSetterGenerator*/ -public static T Fill(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.GeoMap +public static T Fill(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.GeoMap => control._set(LiveChartsCore.SkiaSharpView.Avalonia.GeoMap.FillProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T Fill(this T control,LiveChartsCore.Drawing.IPaint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.GeoMap +public static T Fill(this T control,LiveChartsCore.Painting.Paint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.GeoMap => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.GeoMap.FillProperty, ps, () => control.Fill = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -169,7 +169,7 @@ public static T Fill(this T control, AvaloniaProperty avaloniaProperty, Bindi => control._set(LiveChartsCore.SkiaSharpView.Avalonia.GeoMap.FillProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T Fill(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.GeoMap +public static T Fill(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.GeoMap => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.GeoMap.FillProperty, ps, () => control.Fill = converter.TryConvert(value), bindingMode, converter, bindingSource); diff --git a/src/KubeUI.Core/ControlExtensions.Generated/Marquee_MarkupExtensions.g.cs b/src/KubeUI.Core/ControlExtensions.Generated/Marquee_MarkupExtensions.g.cs new file mode 100644 index 00000000..17d13d1b --- /dev/null +++ b/src/KubeUI.Core/ControlExtensions.Generated/Marquee_MarkupExtensions.g.cs @@ -0,0 +1,120 @@ +#nullable enable +using Avalonia.Data; +using Avalonia.Data.Converters; +using System; +using System.Linq.Expressions; +using System.Numerics; +using System.Runtime.CompilerServices; + +namespace Avalonia.Markup.Declarative; +[global::System.CodeDom.Compiler.GeneratedCode("AvaloniaExtensionGenerator", "1.0.0.0")] +[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] +public static partial class Marquee_MarkupExtensions +{ +//================= Properties ======================// + // IsRunning + +/*BindFromExpressionSetterGenerator*/ +public static T IsRunning(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.Marquee + => control._set(Ursa.Controls.Marquee.IsRunningProperty, func, onChanged, expression); + +/*MagicalSetterGenerator*/ +public static T IsRunning(this T control,System.Boolean value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Marquee +=> control._setEx(Ursa.Controls.Marquee.IsRunningProperty, ps, () => control.IsRunning = value, bindingMode, converter, bindingSource); + +/*BindSetterGenerator*/ +public static T IsRunning(this T control, IBinding binding) where T : Ursa.Controls.Marquee + => control._set(Ursa.Controls.Marquee.IsRunningProperty, binding); + +/*AvaloniaPropertyBindSetterGenerator*/ +public static T IsRunning(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.Marquee + => control._set(Ursa.Controls.Marquee.IsRunningProperty, avaloniaProperty, bindingMode, converter, overrideView); + +/*MagicalSetterWithConverterGenerator*/ +public static T IsRunning(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Marquee +=> control._setEx(Ursa.Controls.Marquee.IsRunningProperty, ps, () => control.IsRunning = converter.TryConvert(value), bindingMode, converter, bindingSource); + + + // Direction + +/*BindFromExpressionSetterGenerator*/ +public static T Direction(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.Marquee + => control._set(Ursa.Controls.Marquee.DirectionProperty, func, onChanged, expression); + +/*MagicalSetterGenerator*/ +public static T Direction(this T control,Ursa.Controls.Direction value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Marquee +=> control._setEx(Ursa.Controls.Marquee.DirectionProperty, ps, () => control.Direction = value, bindingMode, converter, bindingSource); + +/*BindSetterGenerator*/ +public static T Direction(this T control, IBinding binding) where T : Ursa.Controls.Marquee + => control._set(Ursa.Controls.Marquee.DirectionProperty, binding); + +/*AvaloniaPropertyBindSetterGenerator*/ +public static T Direction(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.Marquee + => control._set(Ursa.Controls.Marquee.DirectionProperty, avaloniaProperty, bindingMode, converter, overrideView); + +/*MagicalSetterWithConverterGenerator*/ +public static T Direction(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Marquee +=> control._setEx(Ursa.Controls.Marquee.DirectionProperty, ps, () => control.Direction = converter.TryConvert(value), bindingMode, converter, bindingSource); + + + // Speed + +/*BindFromExpressionSetterGenerator*/ +public static T Speed(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.Marquee + => control._set(Ursa.Controls.Marquee.SpeedProperty, func, onChanged, expression); + +/*MagicalSetterGenerator*/ +public static T Speed(this T control,System.Double value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Marquee +=> control._setEx(Ursa.Controls.Marquee.SpeedProperty, ps, () => control.Speed = value, bindingMode, converter, bindingSource); + +/*BindSetterGenerator*/ +public static T Speed(this T control, IBinding binding) where T : Ursa.Controls.Marquee + => control._set(Ursa.Controls.Marquee.SpeedProperty, binding); + +/*AvaloniaPropertyBindSetterGenerator*/ +public static T Speed(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.Marquee + => control._set(Ursa.Controls.Marquee.SpeedProperty, avaloniaProperty, bindingMode, converter, overrideView); + +/*MagicalSetterWithConverterGenerator*/ +public static T Speed(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Marquee +=> control._setEx(Ursa.Controls.Marquee.SpeedProperty, ps, () => control.Speed = converter.TryConvert(value), bindingMode, converter, bindingSource); + + + +//================= Styles ======================// + // IsRunning + +/*ValueStyleSetterGenerator*/ +public static Style IsRunning(this Style style, System.Boolean value) where T : Ursa.Controls.Marquee +=> style._addSetter(Ursa.Controls.Marquee.IsRunningProperty, value); + +/*BindingStyleSetterGenerator*/ +public static Style IsRunning(this Style style, IBinding binding) where T : Ursa.Controls.Marquee +=> style._addSetter(Ursa.Controls.Marquee.IsRunningProperty, binding); + + + // Direction + +/*ValueStyleSetterGenerator*/ +public static Style Direction(this Style style, Ursa.Controls.Direction value) where T : Ursa.Controls.Marquee +=> style._addSetter(Ursa.Controls.Marquee.DirectionProperty, value); + +/*BindingStyleSetterGenerator*/ +public static Style Direction(this Style style, IBinding binding) where T : Ursa.Controls.Marquee +=> style._addSetter(Ursa.Controls.Marquee.DirectionProperty, binding); + + + // Speed + +/*ValueStyleSetterGenerator*/ +public static Style Speed(this Style style, System.Double value) where T : Ursa.Controls.Marquee +=> style._addSetter(Ursa.Controls.Marquee.SpeedProperty, value); + +/*BindingStyleSetterGenerator*/ +public static Style Speed(this Style style, IBinding binding) where T : Ursa.Controls.Marquee +=> style._addSetter(Ursa.Controls.Marquee.SpeedProperty, binding); + + + +} diff --git a/src/KubeUI.Core/ControlExtensions.Generated/MotionCanvas_MarkupExtensions.g.cs b/src/KubeUI.Core/ControlExtensions.Generated/MotionCanvas_MarkupExtensions.g.cs deleted file mode 100644 index 9e882478..00000000 --- a/src/KubeUI.Core/ControlExtensions.Generated/MotionCanvas_MarkupExtensions.g.cs +++ /dev/null @@ -1,39 +0,0 @@ -#nullable enable -using Avalonia.Data; -using Avalonia.Data.Converters; -using System; -using System.Linq.Expressions; -using System.Numerics; -using System.Runtime.CompilerServices; - -namespace Avalonia.Markup.Declarative; -[global::System.CodeDom.Compiler.GeneratedCode("AvaloniaExtensionGenerator", "1.0.0.0")] -[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] -public static partial class MotionCanvas_MarkupExtensions -{ -//================= Properties ======================// - // PaintTasks - -/*BindFromExpressionSetterGenerator*/ -public static T PaintTasks(this T control, Func>> func, Action>>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.MotionCanvas - => control._set(LiveChartsCore.SkiaSharpView.Avalonia.MotionCanvas.PaintTasksProperty, func, onChanged, expression); - -/*MagicalSetterGenerator*/ -public static T PaintTasks(this T control,System.Collections.Generic.List> value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.MotionCanvas -=> control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.MotionCanvas.PaintTasksProperty, ps, () => control.PaintTasks = value, bindingMode, converter, bindingSource); - -/*BindSetterGenerator*/ -public static T PaintTasks(this T control, IBinding binding) where T : LiveChartsCore.SkiaSharpView.Avalonia.MotionCanvas - => control._set(LiveChartsCore.SkiaSharpView.Avalonia.MotionCanvas.PaintTasksProperty, binding); - -/*AvaloniaPropertyBindSetterGenerator*/ -public static T PaintTasks(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.MotionCanvas - => control._set(LiveChartsCore.SkiaSharpView.Avalonia.MotionCanvas.PaintTasksProperty, avaloniaProperty, bindingMode, converter, overrideView); - -/*MagicalSetterWithConverterGenerator*/ -public static T PaintTasks(this T control, TValue value, FuncValueConverter>> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.MotionCanvas -=> control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.MotionCanvas.PaintTasksProperty, ps, () => control.PaintTasks = converter.TryConvert(value), bindingMode, converter, bindingSource); - - - -} diff --git a/src/KubeUI.Core/ControlExtensions.Generated/Pagination_MarkupExtensions.g.cs b/src/KubeUI.Core/ControlExtensions.Generated/Pagination_MarkupExtensions.g.cs index e2fed8b0..322376ba 100644 --- a/src/KubeUI.Core/ControlExtensions.Generated/Pagination_MarkupExtensions.g.cs +++ b/src/KubeUI.Core/ControlExtensions.Generated/Pagination_MarkupExtensions.g.cs @@ -15,230 +15,230 @@ public static partial class Pagination_MarkupExtensions // CurrentPage /*BindFromExpressionSetterGenerator*/ -public static T CurrentPage(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.Pagination +public static T CurrentPage(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.CurrentPageProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T CurrentPage(this T control,System.Nullable value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination +public static T CurrentPage(this T control,System.Nullable value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination => control._setEx(Ursa.Controls.Pagination.CurrentPageProperty, ps, () => control.CurrentPage = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ -public static T CurrentPage(this T control, IBinding binding) where T : Ursa.Controls.Pagination +public static T CurrentPage(this T control, IBinding binding) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.CurrentPageProperty, binding); /*AvaloniaPropertyBindSetterGenerator*/ -public static T CurrentPage(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.Pagination +public static T CurrentPage(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.CurrentPageProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T CurrentPage(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination +public static T CurrentPage(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination => control._setEx(Ursa.Controls.Pagination.CurrentPageProperty, ps, () => control.CurrentPage = converter.TryConvert(value), bindingMode, converter, bindingSource); // Command /*BindFromExpressionSetterGenerator*/ -public static T Command(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.Pagination +public static T Command(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.CommandProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T Command(this T control,System.Windows.Input.ICommand value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination +public static T Command(this T control,System.Windows.Input.ICommand value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination => control._setEx(Ursa.Controls.Pagination.CommandProperty, ps, () => control.Command = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ -public static T Command(this T control, IBinding binding) where T : Ursa.Controls.Pagination +public static T Command(this T control, IBinding binding) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.CommandProperty, binding); /*AvaloniaPropertyBindSetterGenerator*/ -public static T Command(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.Pagination +public static T Command(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.CommandProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T Command(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination +public static T Command(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination => control._setEx(Ursa.Controls.Pagination.CommandProperty, ps, () => control.Command = converter.TryConvert(value), bindingMode, converter, bindingSource); // CommandParameter /*BindFromExpressionSetterGenerator*/ -public static T CommandParameter(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.Pagination +public static T CommandParameter(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.CommandParameterProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T CommandParameter(this T control,System.Object value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination +public static T CommandParameter(this T control,System.Object value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination => control._setEx(Ursa.Controls.Pagination.CommandParameterProperty, ps, () => control.CommandParameter = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ -public static T CommandParameter(this T control, IBinding binding) where T : Ursa.Controls.Pagination +public static T CommandParameter(this T control, IBinding binding) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.CommandParameterProperty, binding); /*AvaloniaPropertyBindSetterGenerator*/ -public static T CommandParameter(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.Pagination +public static T CommandParameter(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.CommandParameterProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T CommandParameter(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination +public static T CommandParameter(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination => control._setEx(Ursa.Controls.Pagination.CommandParameterProperty, ps, () => control.CommandParameter = converter.TryConvert(value), bindingMode, converter, bindingSource); // TotalCount /*BindFromExpressionSetterGenerator*/ -public static T TotalCount(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.Pagination +public static T TotalCount(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.TotalCountProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T TotalCount(this T control,System.Int32 value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination +public static T TotalCount(this T control,System.Int32 value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination => control._setEx(Ursa.Controls.Pagination.TotalCountProperty, ps, () => control.TotalCount = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ -public static T TotalCount(this T control, IBinding binding) where T : Ursa.Controls.Pagination +public static T TotalCount(this T control, IBinding binding) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.TotalCountProperty, binding); /*AvaloniaPropertyBindSetterGenerator*/ -public static T TotalCount(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.Pagination +public static T TotalCount(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.TotalCountProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T TotalCount(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination +public static T TotalCount(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination => control._setEx(Ursa.Controls.Pagination.TotalCountProperty, ps, () => control.TotalCount = converter.TryConvert(value), bindingMode, converter, bindingSource); // PageSize /*BindFromExpressionSetterGenerator*/ -public static T PageSize(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.Pagination +public static T PageSize(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.PageSizeProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T PageSize(this T control,System.Int32 value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination +public static T PageSize(this T control,System.Int32 value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination => control._setEx(Ursa.Controls.Pagination.PageSizeProperty, ps, () => control.PageSize = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ -public static T PageSize(this T control, IBinding binding) where T : Ursa.Controls.Pagination +public static T PageSize(this T control, IBinding binding) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.PageSizeProperty, binding); /*AvaloniaPropertyBindSetterGenerator*/ -public static T PageSize(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.Pagination +public static T PageSize(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.PageSizeProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T PageSize(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination +public static T PageSize(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination => control._setEx(Ursa.Controls.Pagination.PageSizeProperty, ps, () => control.PageSize = converter.TryConvert(value), bindingMode, converter, bindingSource); // PageSizeOptions /*BindFromExpressionSetterGenerator*/ -public static T PageSizeOptions(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.Pagination +public static T PageSizeOptions(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.PageSizeOptionsProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T PageSizeOptions(this T control,Avalonia.Collections.AvaloniaList value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination +public static T PageSizeOptions(this T control,Avalonia.Collections.AvaloniaList value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination => control._setEx(Ursa.Controls.Pagination.PageSizeOptionsProperty, ps, () => control.PageSizeOptions = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ -public static T PageSizeOptions(this T control, IBinding binding) where T : Ursa.Controls.Pagination +public static T PageSizeOptions(this T control, IBinding binding) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.PageSizeOptionsProperty, binding); /*AvaloniaPropertyBindSetterGenerator*/ -public static T PageSizeOptions(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.Pagination +public static T PageSizeOptions(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.PageSizeOptionsProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T PageSizeOptions(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination +public static T PageSizeOptions(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination => control._setEx(Ursa.Controls.Pagination.PageSizeOptionsProperty, ps, () => control.PageSizeOptions = converter.TryConvert(value), bindingMode, converter, bindingSource); // PageButtonTheme /*BindFromExpressionSetterGenerator*/ -public static T PageButtonTheme(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.Pagination +public static T PageButtonTheme(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.PageButtonThemeProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T PageButtonTheme(this T control,Avalonia.Styling.ControlTheme value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination +public static T PageButtonTheme(this T control,Avalonia.Styling.ControlTheme value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination => control._setEx(Ursa.Controls.Pagination.PageButtonThemeProperty, ps, () => control.PageButtonTheme = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ -public static T PageButtonTheme(this T control, IBinding binding) where T : Ursa.Controls.Pagination +public static T PageButtonTheme(this T control, IBinding binding) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.PageButtonThemeProperty, binding); /*AvaloniaPropertyBindSetterGenerator*/ -public static T PageButtonTheme(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.Pagination +public static T PageButtonTheme(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.PageButtonThemeProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T PageButtonTheme(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination +public static T PageButtonTheme(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination => control._setEx(Ursa.Controls.Pagination.PageButtonThemeProperty, ps, () => control.PageButtonTheme = converter.TryConvert(value), bindingMode, converter, bindingSource); // ShowPageSizeSelector /*BindFromExpressionSetterGenerator*/ -public static T ShowPageSizeSelector(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.Pagination +public static T ShowPageSizeSelector(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.ShowPageSizeSelectorProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T ShowPageSizeSelector(this T control,System.Boolean value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination +public static T ShowPageSizeSelector(this T control,System.Boolean value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination => control._setEx(Ursa.Controls.Pagination.ShowPageSizeSelectorProperty, ps, () => control.ShowPageSizeSelector = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ -public static T ShowPageSizeSelector(this T control, IBinding binding) where T : Ursa.Controls.Pagination +public static T ShowPageSizeSelector(this T control, IBinding binding) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.ShowPageSizeSelectorProperty, binding); /*AvaloniaPropertyBindSetterGenerator*/ -public static T ShowPageSizeSelector(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.Pagination +public static T ShowPageSizeSelector(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.ShowPageSizeSelectorProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T ShowPageSizeSelector(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination +public static T ShowPageSizeSelector(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination => control._setEx(Ursa.Controls.Pagination.ShowPageSizeSelectorProperty, ps, () => control.ShowPageSizeSelector = converter.TryConvert(value), bindingMode, converter, bindingSource); // ShowQuickJump /*BindFromExpressionSetterGenerator*/ -public static T ShowQuickJump(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.Pagination +public static T ShowQuickJump(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.ShowQuickJumpProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T ShowQuickJump(this T control,System.Boolean value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination +public static T ShowQuickJump(this T control,System.Boolean value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination => control._setEx(Ursa.Controls.Pagination.ShowQuickJumpProperty, ps, () => control.ShowQuickJump = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ -public static T ShowQuickJump(this T control, IBinding binding) where T : Ursa.Controls.Pagination +public static T ShowQuickJump(this T control, IBinding binding) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.ShowQuickJumpProperty, binding); /*AvaloniaPropertyBindSetterGenerator*/ -public static T ShowQuickJump(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.Pagination +public static T ShowQuickJump(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.ShowQuickJumpProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T ShowQuickJump(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination +public static T ShowQuickJump(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination => control._setEx(Ursa.Controls.Pagination.ShowQuickJumpProperty, ps, () => control.ShowQuickJump = converter.TryConvert(value), bindingMode, converter, bindingSource); // DisplayCurrentPageInQuickJumper /*BindFromExpressionSetterGenerator*/ -public static T DisplayCurrentPageInQuickJumper(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.Pagination +public static T DisplayCurrentPageInQuickJumper(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.DisplayCurrentPageInQuickJumperProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T DisplayCurrentPageInQuickJumper(this T control,System.Boolean value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination +public static T DisplayCurrentPageInQuickJumper(this T control,System.Boolean value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination => control._setEx(Ursa.Controls.Pagination.DisplayCurrentPageInQuickJumperProperty, ps, () => control.DisplayCurrentPageInQuickJumper = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ -public static T DisplayCurrentPageInQuickJumper(this T control, IBinding binding) where T : Ursa.Controls.Pagination +public static T DisplayCurrentPageInQuickJumper(this T control, IBinding binding) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.DisplayCurrentPageInQuickJumperProperty, binding); /*AvaloniaPropertyBindSetterGenerator*/ -public static T DisplayCurrentPageInQuickJumper(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.Pagination +public static T DisplayCurrentPageInQuickJumper(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : Ursa.Controls.Pagination => control._set(Ursa.Controls.Pagination.DisplayCurrentPageInQuickJumperProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T DisplayCurrentPageInQuickJumper(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination +public static T DisplayCurrentPageInQuickJumper(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : Ursa.Controls.Pagination => control._setEx(Ursa.Controls.Pagination.DisplayCurrentPageInQuickJumperProperty, ps, () => control.DisplayCurrentPageInQuickJumper = converter.TryConvert(value), bindingMode, converter, bindingSource); @@ -247,11 +247,11 @@ public static T DisplayCurrentPageInQuickJumper(this T control, TValue // CurrentPageChanged /*ActionToEventGenerator*/ -//public static T OnCurrentPageChanged(this T control, Action> action, Avalonia.Interactivity.RoutingStrategies routes = Avalonia.Interactivity.RoutingStrategies.Tunnel | Avalonia.Interactivity.RoutingStrategies.Bubble) where T : Ursa.Controls.Pagination -//{ -// control.AddHandler(Ursa.Controls.Pagination.CurrentPageChangedEvent, (_, args) => action(args), routes); -// return control; -//} +public static T OnCurrentPageChanged(this T control, Action> action, Avalonia.Interactivity.RoutingStrategies routes = Avalonia.Interactivity.RoutingStrategies.Tunnel | Avalonia.Interactivity.RoutingStrategies.Bubble) where T : Ursa.Controls.Pagination +{ + control.AddHandler(Ursa.Controls.Pagination.CurrentPageChangedEvent, (_, args) => action(_, args), routes); + return control; +} @@ -260,110 +260,110 @@ public static T DisplayCurrentPageInQuickJumper(this T control, TValue // CurrentPage /*ValueStyleSetterGenerator*/ -public static Style CurrentPage(this Style style, System.Nullable value) where T : Ursa.Controls.Pagination +public static Style CurrentPage(this Style style, System.Nullable value) where T : Ursa.Controls.Pagination => style._addSetter(Ursa.Controls.Pagination.CurrentPageProperty, value); /*BindingStyleSetterGenerator*/ -public static Style CurrentPage(this Style style, IBinding binding) where T : Ursa.Controls.Pagination +public static Style CurrentPage(this Style style, IBinding binding) where T : Ursa.Controls.Pagination => style._addSetter(Ursa.Controls.Pagination.CurrentPageProperty, binding); // Command /*ValueStyleSetterGenerator*/ -public static Style Command(this Style style, System.Windows.Input.ICommand value) where T : Ursa.Controls.Pagination +public static Style Command(this Style style, System.Windows.Input.ICommand value) where T : Ursa.Controls.Pagination => style._addSetter(Ursa.Controls.Pagination.CommandProperty, value); /*BindingStyleSetterGenerator*/ -public static Style Command(this Style style, IBinding binding) where T : Ursa.Controls.Pagination +public static Style Command(this Style style, IBinding binding) where T : Ursa.Controls.Pagination => style._addSetter(Ursa.Controls.Pagination.CommandProperty, binding); // CommandParameter /*ValueStyleSetterGenerator*/ -public static Style CommandParameter(this Style style, System.Object value) where T : Ursa.Controls.Pagination +public static Style CommandParameter(this Style style, System.Object value) where T : Ursa.Controls.Pagination => style._addSetter(Ursa.Controls.Pagination.CommandParameterProperty, value); /*BindingStyleSetterGenerator*/ -public static Style CommandParameter(this Style style, IBinding binding) where T : Ursa.Controls.Pagination +public static Style CommandParameter(this Style style, IBinding binding) where T : Ursa.Controls.Pagination => style._addSetter(Ursa.Controls.Pagination.CommandParameterProperty, binding); // TotalCount /*ValueStyleSetterGenerator*/ -public static Style TotalCount(this Style style, System.Int32 value) where T : Ursa.Controls.Pagination +public static Style TotalCount(this Style style, System.Int32 value) where T : Ursa.Controls.Pagination => style._addSetter(Ursa.Controls.Pagination.TotalCountProperty, value); /*BindingStyleSetterGenerator*/ -public static Style TotalCount(this Style style, IBinding binding) where T : Ursa.Controls.Pagination +public static Style TotalCount(this Style style, IBinding binding) where T : Ursa.Controls.Pagination => style._addSetter(Ursa.Controls.Pagination.TotalCountProperty, binding); // PageSize /*ValueStyleSetterGenerator*/ -public static Style PageSize(this Style style, System.Int32 value) where T : Ursa.Controls.Pagination +public static Style PageSize(this Style style, System.Int32 value) where T : Ursa.Controls.Pagination => style._addSetter(Ursa.Controls.Pagination.PageSizeProperty, value); /*BindingStyleSetterGenerator*/ -public static Style PageSize(this Style style, IBinding binding) where T : Ursa.Controls.Pagination +public static Style PageSize(this Style style, IBinding binding) where T : Ursa.Controls.Pagination => style._addSetter(Ursa.Controls.Pagination.PageSizeProperty, binding); // PageSizeOptions /*ValueStyleSetterGenerator*/ -public static Style PageSizeOptions(this Style style, Avalonia.Collections.AvaloniaList value) where T : Ursa.Controls.Pagination +public static Style PageSizeOptions(this Style style, Avalonia.Collections.AvaloniaList value) where T : Ursa.Controls.Pagination => style._addSetter(Ursa.Controls.Pagination.PageSizeOptionsProperty, value); /*BindingStyleSetterGenerator*/ -public static Style PageSizeOptions(this Style style, IBinding binding) where T : Ursa.Controls.Pagination +public static Style PageSizeOptions(this Style style, IBinding binding) where T : Ursa.Controls.Pagination => style._addSetter(Ursa.Controls.Pagination.PageSizeOptionsProperty, binding); // PageButtonTheme /*ValueStyleSetterGenerator*/ -public static Style PageButtonTheme(this Style style, Avalonia.Styling.ControlTheme value) where T : Ursa.Controls.Pagination +public static Style PageButtonTheme(this Style style, Avalonia.Styling.ControlTheme value) where T : Ursa.Controls.Pagination => style._addSetter(Ursa.Controls.Pagination.PageButtonThemeProperty, value); /*BindingStyleSetterGenerator*/ -public static Style PageButtonTheme(this Style style, IBinding binding) where T : Ursa.Controls.Pagination +public static Style PageButtonTheme(this Style style, IBinding binding) where T : Ursa.Controls.Pagination => style._addSetter(Ursa.Controls.Pagination.PageButtonThemeProperty, binding); // ShowPageSizeSelector /*ValueStyleSetterGenerator*/ -public static Style ShowPageSizeSelector(this Style style, System.Boolean value) where T : Ursa.Controls.Pagination +public static Style ShowPageSizeSelector(this Style style, System.Boolean value) where T : Ursa.Controls.Pagination => style._addSetter(Ursa.Controls.Pagination.ShowPageSizeSelectorProperty, value); /*BindingStyleSetterGenerator*/ -public static Style ShowPageSizeSelector(this Style style, IBinding binding) where T : Ursa.Controls.Pagination +public static Style ShowPageSizeSelector(this Style style, IBinding binding) where T : Ursa.Controls.Pagination => style._addSetter(Ursa.Controls.Pagination.ShowPageSizeSelectorProperty, binding); // ShowQuickJump /*ValueStyleSetterGenerator*/ -public static Style ShowQuickJump(this Style style, System.Boolean value) where T : Ursa.Controls.Pagination +public static Style ShowQuickJump(this Style style, System.Boolean value) where T : Ursa.Controls.Pagination => style._addSetter(Ursa.Controls.Pagination.ShowQuickJumpProperty, value); /*BindingStyleSetterGenerator*/ -public static Style ShowQuickJump(this Style style, IBinding binding) where T : Ursa.Controls.Pagination +public static Style ShowQuickJump(this Style style, IBinding binding) where T : Ursa.Controls.Pagination => style._addSetter(Ursa.Controls.Pagination.ShowQuickJumpProperty, binding); // DisplayCurrentPageInQuickJumper /*ValueStyleSetterGenerator*/ -public static Style DisplayCurrentPageInQuickJumper(this Style style, System.Boolean value) where T : Ursa.Controls.Pagination +public static Style DisplayCurrentPageInQuickJumper(this Style style, System.Boolean value) where T : Ursa.Controls.Pagination => style._addSetter(Ursa.Controls.Pagination.DisplayCurrentPageInQuickJumperProperty, value); /*BindingStyleSetterGenerator*/ -public static Style DisplayCurrentPageInQuickJumper(this Style style, IBinding binding) where T : Ursa.Controls.Pagination +public static Style DisplayCurrentPageInQuickJumper(this Style style, IBinding binding) where T : Ursa.Controls.Pagination => style._addSetter(Ursa.Controls.Pagination.DisplayCurrentPageInQuickJumperProperty, binding); diff --git a/src/KubeUI.Core/ControlExtensions.Generated/PieChart_MarkupExtensions.g.cs b/src/KubeUI.Core/ControlExtensions.Generated/PieChart_MarkupExtensions.g.cs index 2220231a..4619b271 100644 --- a/src/KubeUI.Core/ControlExtensions.Generated/PieChart_MarkupExtensions.g.cs +++ b/src/KubeUI.Core/ControlExtensions.Generated/PieChart_MarkupExtensions.g.cs @@ -61,11 +61,11 @@ public static T SyncContext(this T control, TValue value, FuncValueCon // Title /*BindFromExpressionSetterGenerator*/ -public static T Title(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +public static T Title(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.TitleProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T Title(this T control,LiveChartsCore.VisualElements.VisualElement value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +public static T Title(this T control,LiveChartsCore.VisualElements.VisualElement value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.TitleProperty, ps, () => control.Title = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -77,7 +77,7 @@ public static T Title(this T control, AvaloniaProperty avaloniaProperty, Bind => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.TitleProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T Title(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +public static T Title(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.TitleProperty, ps, () => control.Title = converter.TryConvert(value), bindingMode, converter, bindingSource); @@ -107,11 +107,11 @@ public static T Series(this T control, TValue value, FuncValueConverte // VisualElements /*BindFromExpressionSetterGenerator*/ -public static T VisualElements(this T control, Func>> func, Action>>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +public static T VisualElements(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.VisualElementsProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T VisualElements(this T control,System.Collections.Generic.IEnumerable> value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +public static T VisualElements(this T control,System.Collections.Generic.IEnumerable value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.VisualElementsProperty, ps, () => control.VisualElements = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -123,7 +123,7 @@ public static T VisualElements(this T control, AvaloniaProperty avaloniaPrope => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.VisualElementsProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T VisualElements(this T control, TValue value, FuncValueConverter>> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +public static T VisualElements(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.VisualElementsProperty, ps, () => control.VisualElements = converter.TryConvert(value), bindingMode, converter, bindingSource); @@ -314,11 +314,11 @@ public static T TooltipPosition(this T control, TValue value, FuncValu // TooltipBackgroundPaint /*BindFromExpressionSetterGenerator*/ -public static T TooltipBackgroundPaint(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +public static T TooltipBackgroundPaint(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.TooltipBackgroundPaintProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T TooltipBackgroundPaint(this T control,LiveChartsCore.Drawing.IPaint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +public static T TooltipBackgroundPaint(this T control,LiveChartsCore.Painting.Paint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.TooltipBackgroundPaintProperty, ps, () => control.TooltipBackgroundPaint = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -330,18 +330,18 @@ public static T TooltipBackgroundPaint(this T control, AvaloniaProperty avalo => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.TooltipBackgroundPaintProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T TooltipBackgroundPaint(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +public static T TooltipBackgroundPaint(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.TooltipBackgroundPaintProperty, ps, () => control.TooltipBackgroundPaint = converter.TryConvert(value), bindingMode, converter, bindingSource); // TooltipTextPaint /*BindFromExpressionSetterGenerator*/ -public static T TooltipTextPaint(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +public static T TooltipTextPaint(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.TooltipTextPaintProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T TooltipTextPaint(this T control,LiveChartsCore.Drawing.IPaint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +public static T TooltipTextPaint(this T control,LiveChartsCore.Painting.Paint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.TooltipTextPaintProperty, ps, () => control.TooltipTextPaint = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -353,18 +353,18 @@ public static T TooltipTextPaint(this T control, AvaloniaProperty avaloniaPro => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.TooltipTextPaintProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T TooltipTextPaint(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +public static T TooltipTextPaint(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.TooltipTextPaintProperty, ps, () => control.TooltipTextPaint = converter.TryConvert(value), bindingMode, converter, bindingSource); // TooltipTextSize /*BindFromExpressionSetterGenerator*/ -public static T TooltipTextSize(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +public static T TooltipTextSize(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.TooltipTextSizeProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T TooltipTextSize(this T control,System.Nullable value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +public static T TooltipTextSize(this T control,System.Double value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.TooltipTextSizeProperty, ps, () => control.TooltipTextSize = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -376,7 +376,7 @@ public static T TooltipTextSize(this T control, AvaloniaProperty avaloniaProp => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.TooltipTextSizeProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T TooltipTextSize(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +public static T TooltipTextSize(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.TooltipTextSizeProperty, ps, () => control.TooltipTextSize = converter.TryConvert(value), bindingMode, converter, bindingSource); @@ -406,11 +406,11 @@ public static T LegendPosition(this T control, TValue value, FuncValue // LegendBackgroundPaint /*BindFromExpressionSetterGenerator*/ -public static T LegendBackgroundPaint(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +public static T LegendBackgroundPaint(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.LegendBackgroundPaintProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T LegendBackgroundPaint(this T control,LiveChartsCore.Drawing.IPaint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +public static T LegendBackgroundPaint(this T control,LiveChartsCore.Painting.Paint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.LegendBackgroundPaintProperty, ps, () => control.LegendBackgroundPaint = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -422,18 +422,18 @@ public static T LegendBackgroundPaint(this T control, AvaloniaProperty avalon => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.LegendBackgroundPaintProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T LegendBackgroundPaint(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +public static T LegendBackgroundPaint(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.LegendBackgroundPaintProperty, ps, () => control.LegendBackgroundPaint = converter.TryConvert(value), bindingMode, converter, bindingSource); // LegendTextPaint /*BindFromExpressionSetterGenerator*/ -public static T LegendTextPaint(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +public static T LegendTextPaint(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.LegendTextPaintProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T LegendTextPaint(this T control,LiveChartsCore.Drawing.IPaint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +public static T LegendTextPaint(this T control,LiveChartsCore.Painting.Paint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.LegendTextPaintProperty, ps, () => control.LegendTextPaint = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -445,18 +445,18 @@ public static T LegendTextPaint(this T control, AvaloniaProperty avaloniaProp => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.LegendTextPaintProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T LegendTextPaint(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +public static T LegendTextPaint(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.LegendTextPaintProperty, ps, () => control.LegendTextPaint = converter.TryConvert(value), bindingMode, converter, bindingSource); // LegendTextSize /*BindFromExpressionSetterGenerator*/ -public static T LegendTextSize(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +public static T LegendTextSize(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.LegendTextSizeProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T LegendTextSize(this T control,System.Nullable value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +public static T LegendTextSize(this T control,System.Double value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.LegendTextSizeProperty, ps, () => control.LegendTextSize = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -468,7 +468,7 @@ public static T LegendTextSize(this T control, AvaloniaProperty avaloniaPrope => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.LegendTextSizeProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T LegendTextSize(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +public static T LegendTextSize(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.LegendTextSizeProperty, ps, () => control.LegendTextSize = converter.TryConvert(value), bindingMode, converter, bindingSource); @@ -587,27 +587,27 @@ public static T DataPointerDownCommand(this T control, TValue value, F => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.DataPointerDownCommandProperty, ps, () => control.DataPointerDownCommand = converter.TryConvert(value), bindingMode, converter, bindingSource); - // ChartPointPointerDownCommand + // HoveredPointsChangedCommand /*BindFromExpressionSetterGenerator*/ -public static T ChartPointPointerDownCommand(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart - => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.ChartPointPointerDownCommandProperty, func, onChanged, expression); +public static T HoveredPointsChangedCommand(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart + => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.HoveredPointsChangedCommandProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T ChartPointPointerDownCommand(this T control,System.Windows.Input.ICommand value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart -=> control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.ChartPointPointerDownCommandProperty, ps, () => control.ChartPointPointerDownCommand = value, bindingMode, converter, bindingSource); +public static T HoveredPointsChangedCommand(this T control,System.Windows.Input.ICommand value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +=> control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.HoveredPointsChangedCommandProperty, ps, () => control.HoveredPointsChangedCommand = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ -public static T ChartPointPointerDownCommand(this T control, IBinding binding) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart - => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.ChartPointPointerDownCommandProperty, binding); +public static T HoveredPointsChangedCommand(this T control, IBinding binding) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart + => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.HoveredPointsChangedCommandProperty, binding); /*AvaloniaPropertyBindSetterGenerator*/ -public static T ChartPointPointerDownCommand(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart - => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.ChartPointPointerDownCommandProperty, avaloniaProperty, bindingMode, converter, overrideView); +public static T HoveredPointsChangedCommand(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart + => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.HoveredPointsChangedCommandProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T ChartPointPointerDownCommand(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart -=> control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.ChartPointPointerDownCommandProperty, ps, () => control.ChartPointPointerDownCommand = converter.TryConvert(value), bindingMode, converter, bindingSource); +public static T HoveredPointsChangedCommand(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart +=> control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PieChart.HoveredPointsChangedCommandProperty, ps, () => control.HoveredPointsChangedCommand = converter.TryConvert(value), bindingMode, converter, bindingSource); // VisualElementsPointerDownCommand @@ -638,22 +638,22 @@ public static T VisualElementsPointerDownCommand(this T control, TValu // Measuring /*ActionToEventGenerator*/ -public static T OnMeasuring(this T control, Action> action) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => - control._setEvent((LiveChartsCore.Kernel.Events.ChartEventHandler) ((arg0) => action(arg0)), h => control.Measuring += h); +public static T OnMeasuring(this T control, Action action) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => + control._setEvent((LiveChartsCore.Kernel.Events.ChartEventHandler) ((arg0) => action(arg0)), h => control.Measuring += h); // UpdateStarted /*ActionToEventGenerator*/ -public static T OnUpdateStarted(this T control, Action> action) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => - control._setEvent((LiveChartsCore.Kernel.Events.ChartEventHandler) ((arg0) => action(arg0)), h => control.UpdateStarted += h); +public static T OnUpdateStarted(this T control, Action action) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => + control._setEvent((LiveChartsCore.Kernel.Events.ChartEventHandler) ((arg0) => action(arg0)), h => control.UpdateStarted += h); // UpdateFinished /*ActionToEventGenerator*/ -public static T OnUpdateFinished(this T control, Action> action) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => - control._setEvent((LiveChartsCore.Kernel.Events.ChartEventHandler) ((arg0) => action(arg0)), h => control.UpdateFinished += h); +public static T OnUpdateFinished(this T control, Action action) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => + control._setEvent((LiveChartsCore.Kernel.Events.ChartEventHandler) ((arg0) => action(arg0)), h => control.UpdateFinished += h); // DataPointerDown @@ -663,6 +663,13 @@ public static T OnDataPointerDown(this T control, Action action(arg0, arg1)), h => control.DataPointerDown += h); + // HoveredPointsChanged + +/*ActionToEventGenerator*/ +public static T OnHoveredPointsChanged(this T control, Action, System.Collections.Generic.IEnumerable> action) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => + control._setEvent((LiveChartsCore.Kernel.Events.ChartPointHoverHandler) ((arg0, arg1, arg2) => action(arg0, arg1, arg2)), h => control.HoveredPointsChanged += h); + + // ChartPointPointerDown /*ActionToEventGenerator*/ @@ -673,8 +680,8 @@ public static T OnChartPointPointerDown(this T control, Action(this T control, Action> action) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => - control._setEvent((LiveChartsCore.Kernel.Events.VisualElementsHandler) ((arg0, arg1) => action(arg0, arg1)), h => control.VisualElementsPointerDown += h); +public static T OnVisualElementsPointerDown(this T control, Action action) where T : LiveChartsCore.SkiaSharpView.Avalonia.PieChart => + control._setEvent((LiveChartsCore.Kernel.Events.VisualElementsHandler) ((arg0, arg1) => action(arg0, arg1)), h => control.VisualElementsPointerDown += h); diff --git a/src/KubeUI.Core/ControlExtensions.Generated/PolarChart_MarkupExtensions.g.cs b/src/KubeUI.Core/ControlExtensions.Generated/PolarChart_MarkupExtensions.g.cs index c6dd8704..afd0507e 100644 --- a/src/KubeUI.Core/ControlExtensions.Generated/PolarChart_MarkupExtensions.g.cs +++ b/src/KubeUI.Core/ControlExtensions.Generated/PolarChart_MarkupExtensions.g.cs @@ -38,11 +38,11 @@ public static T SyncContext(this T control, TValue value, FuncValueCon // Title /*BindFromExpressionSetterGenerator*/ -public static T Title(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +public static T Title(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.TitleProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T Title(this T control,LiveChartsCore.VisualElements.VisualElement value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +public static T Title(this T control,LiveChartsCore.VisualElements.VisualElement value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.TitleProperty, ps, () => control.Title = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -54,7 +54,7 @@ public static T Title(this T control, AvaloniaProperty avaloniaProperty, Bind => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.TitleProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T Title(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +public static T Title(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.TitleProperty, ps, () => control.Title = converter.TryConvert(value), bindingMode, converter, bindingSource); @@ -84,11 +84,11 @@ public static T Series(this T control, TValue value, FuncValueConverte // VisualElements /*BindFromExpressionSetterGenerator*/ -public static T VisualElements(this T control, Func>> func, Action>>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +public static T VisualElements(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.VisualElementsProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T VisualElements(this T control,System.Collections.Generic.IEnumerable> value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +public static T VisualElements(this T control,System.Collections.Generic.IEnumerable value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.VisualElementsProperty, ps, () => control.VisualElements = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -100,7 +100,7 @@ public static T VisualElements(this T control, AvaloniaProperty avaloniaPrope => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.VisualElementsProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T VisualElements(this T control, TValue value, FuncValueConverter>> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +public static T VisualElements(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.VisualElementsProperty, ps, () => control.VisualElements = converter.TryConvert(value), bindingMode, converter, bindingSource); @@ -314,11 +314,11 @@ public static T TooltipPosition(this T control, TValue value, FuncValu // TooltipBackgroundPaint /*BindFromExpressionSetterGenerator*/ -public static T TooltipBackgroundPaint(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +public static T TooltipBackgroundPaint(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.TooltipBackgroundPaintProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T TooltipBackgroundPaint(this T control,LiveChartsCore.Drawing.IPaint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +public static T TooltipBackgroundPaint(this T control,LiveChartsCore.Painting.Paint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.TooltipBackgroundPaintProperty, ps, () => control.TooltipBackgroundPaint = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -330,18 +330,18 @@ public static T TooltipBackgroundPaint(this T control, AvaloniaProperty avalo => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.TooltipBackgroundPaintProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T TooltipBackgroundPaint(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +public static T TooltipBackgroundPaint(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.TooltipBackgroundPaintProperty, ps, () => control.TooltipBackgroundPaint = converter.TryConvert(value), bindingMode, converter, bindingSource); // TooltipTextPaint /*BindFromExpressionSetterGenerator*/ -public static T TooltipTextPaint(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +public static T TooltipTextPaint(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.TooltipTextPaintProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T TooltipTextPaint(this T control,LiveChartsCore.Drawing.IPaint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +public static T TooltipTextPaint(this T control,LiveChartsCore.Painting.Paint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.TooltipTextPaintProperty, ps, () => control.TooltipTextPaint = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -353,18 +353,18 @@ public static T TooltipTextPaint(this T control, AvaloniaProperty avaloniaPro => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.TooltipTextPaintProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T TooltipTextPaint(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +public static T TooltipTextPaint(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.TooltipTextPaintProperty, ps, () => control.TooltipTextPaint = converter.TryConvert(value), bindingMode, converter, bindingSource); // TooltipTextSize /*BindFromExpressionSetterGenerator*/ -public static T TooltipTextSize(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +public static T TooltipTextSize(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.TooltipTextSizeProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T TooltipTextSize(this T control,System.Nullable value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +public static T TooltipTextSize(this T control,System.Double value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.TooltipTextSizeProperty, ps, () => control.TooltipTextSize = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -376,7 +376,7 @@ public static T TooltipTextSize(this T control, AvaloniaProperty avaloniaProp => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.TooltipTextSizeProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T TooltipTextSize(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +public static T TooltipTextSize(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.TooltipTextSizeProperty, ps, () => control.TooltipTextSize = converter.TryConvert(value), bindingMode, converter, bindingSource); @@ -406,11 +406,11 @@ public static T LegendPosition(this T control, TValue value, FuncValue // LegendBackgroundPaint /*BindFromExpressionSetterGenerator*/ -public static T LegendBackgroundPaint(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +public static T LegendBackgroundPaint(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.LegendBackgroundPaintProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T LegendBackgroundPaint(this T control,LiveChartsCore.Drawing.IPaint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +public static T LegendBackgroundPaint(this T control,LiveChartsCore.Painting.Paint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.LegendBackgroundPaintProperty, ps, () => control.LegendBackgroundPaint = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -422,18 +422,18 @@ public static T LegendBackgroundPaint(this T control, AvaloniaProperty avalon => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.LegendBackgroundPaintProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T LegendBackgroundPaint(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +public static T LegendBackgroundPaint(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.LegendBackgroundPaintProperty, ps, () => control.LegendBackgroundPaint = converter.TryConvert(value), bindingMode, converter, bindingSource); // LegendTextPaint /*BindFromExpressionSetterGenerator*/ -public static T LegendTextPaint(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +public static T LegendTextPaint(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.LegendTextPaintProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T LegendTextPaint(this T control,LiveChartsCore.Drawing.IPaint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +public static T LegendTextPaint(this T control,LiveChartsCore.Painting.Paint value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.LegendTextPaintProperty, ps, () => control.LegendTextPaint = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -445,18 +445,18 @@ public static T LegendTextPaint(this T control, AvaloniaProperty avaloniaProp => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.LegendTextPaintProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T LegendTextPaint(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +public static T LegendTextPaint(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.LegendTextPaintProperty, ps, () => control.LegendTextPaint = converter.TryConvert(value), bindingMode, converter, bindingSource); // LegendTextSize /*BindFromExpressionSetterGenerator*/ -public static T LegendTextSize(this T control, Func> func, Action>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +public static T LegendTextSize(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.LegendTextSizeProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T LegendTextSize(this T control,System.Nullable value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +public static T LegendTextSize(this T control,System.Double value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.LegendTextSizeProperty, ps, () => control.LegendTextSize = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ @@ -468,7 +468,7 @@ public static T LegendTextSize(this T control, AvaloniaProperty avaloniaPrope => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.LegendTextSizeProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T LegendTextSize(this T control, TValue value, FuncValueConverter> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +public static T LegendTextSize(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.LegendTextSizeProperty, ps, () => control.LegendTextSize = converter.TryConvert(value), bindingMode, converter, bindingSource); @@ -587,27 +587,27 @@ public static T DataPointerDownCommand(this T control, TValue value, F => control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.DataPointerDownCommandProperty, ps, () => control.DataPointerDownCommand = converter.TryConvert(value), bindingMode, converter, bindingSource); - // ChartPointPointerDownCommand + // HoveredPointsChangedCommand /*BindFromExpressionSetterGenerator*/ -public static T ChartPointPointerDownCommand(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart - => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.ChartPointPointerDownCommandProperty, func, onChanged, expression); +public static T HoveredPointsChangedCommand(this T control, Func func, Action? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart + => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.HoveredPointsChangedCommandProperty, func, onChanged, expression); /*MagicalSetterGenerator*/ -public static T ChartPointPointerDownCommand(this T control,System.Windows.Input.ICommand value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart -=> control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.ChartPointPointerDownCommandProperty, ps, () => control.ChartPointPointerDownCommand = value, bindingMode, converter, bindingSource); +public static T HoveredPointsChangedCommand(this T control,System.Windows.Input.ICommand value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +=> control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.HoveredPointsChangedCommandProperty, ps, () => control.HoveredPointsChangedCommand = value, bindingMode, converter, bindingSource); /*BindSetterGenerator*/ -public static T ChartPointPointerDownCommand(this T control, IBinding binding) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart - => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.ChartPointPointerDownCommandProperty, binding); +public static T HoveredPointsChangedCommand(this T control, IBinding binding) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart + => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.HoveredPointsChangedCommandProperty, binding); /*AvaloniaPropertyBindSetterGenerator*/ -public static T ChartPointPointerDownCommand(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart - => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.ChartPointPointerDownCommandProperty, avaloniaProperty, bindingMode, converter, overrideView); +public static T HoveredPointsChangedCommand(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart + => control._set(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.HoveredPointsChangedCommandProperty, avaloniaProperty, bindingMode, converter, overrideView); /*MagicalSetterWithConverterGenerator*/ -public static T ChartPointPointerDownCommand(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart -=> control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.ChartPointPointerDownCommandProperty, ps, () => control.ChartPointPointerDownCommand = converter.TryConvert(value), bindingMode, converter, bindingSource); +public static T HoveredPointsChangedCommand(this T control, TValue value, FuncValueConverter converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart +=> control._setEx(LiveChartsCore.SkiaSharpView.Avalonia.PolarChart.HoveredPointsChangedCommandProperty, ps, () => control.HoveredPointsChangedCommand = converter.TryConvert(value), bindingMode, converter, bindingSource); // VisualElementsPointerDownCommand @@ -638,22 +638,22 @@ public static T VisualElementsPointerDownCommand(this T control, TValu // Measuring /*ActionToEventGenerator*/ -public static T OnMeasuring(this T control, Action> action) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => - control._setEvent((LiveChartsCore.Kernel.Events.ChartEventHandler) ((arg0) => action(arg0)), h => control.Measuring += h); +public static T OnMeasuring(this T control, Action action) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => + control._setEvent((LiveChartsCore.Kernel.Events.ChartEventHandler) ((arg0) => action(arg0)), h => control.Measuring += h); // UpdateStarted /*ActionToEventGenerator*/ -public static T OnUpdateStarted(this T control, Action> action) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => - control._setEvent((LiveChartsCore.Kernel.Events.ChartEventHandler) ((arg0) => action(arg0)), h => control.UpdateStarted += h); +public static T OnUpdateStarted(this T control, Action action) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => + control._setEvent((LiveChartsCore.Kernel.Events.ChartEventHandler) ((arg0) => action(arg0)), h => control.UpdateStarted += h); // UpdateFinished /*ActionToEventGenerator*/ -public static T OnUpdateFinished(this T control, Action> action) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => - control._setEvent((LiveChartsCore.Kernel.Events.ChartEventHandler) ((arg0) => action(arg0)), h => control.UpdateFinished += h); +public static T OnUpdateFinished(this T control, Action action) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => + control._setEvent((LiveChartsCore.Kernel.Events.ChartEventHandler) ((arg0) => action(arg0)), h => control.UpdateFinished += h); // DataPointerDown @@ -663,6 +663,13 @@ public static T OnDataPointerDown(this T control, Action action(arg0, arg1)), h => control.DataPointerDown += h); + // HoveredPointsChanged + +/*ActionToEventGenerator*/ +public static T OnHoveredPointsChanged(this T control, Action, System.Collections.Generic.IEnumerable> action) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => + control._setEvent((LiveChartsCore.Kernel.Events.ChartPointHoverHandler) ((arg0, arg1, arg2) => action(arg0, arg1, arg2)), h => control.HoveredPointsChanged += h); + + // ChartPointPointerDown /*ActionToEventGenerator*/ @@ -673,8 +680,8 @@ public static T OnChartPointPointerDown(this T control, Action(this T control, Action> action) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => - control._setEvent((LiveChartsCore.Kernel.Events.VisualElementsHandler) ((arg0, arg1) => action(arg0, arg1)), h => control.VisualElementsPointerDown += h); +public static T OnVisualElementsPointerDown(this T control, Action action) where T : LiveChartsCore.SkiaSharpView.Avalonia.PolarChart => + control._setEvent((LiveChartsCore.Kernel.Events.VisualElementsHandler) ((arg0, arg1) => action(arg0, arg1)), h => control.VisualElementsPointerDown += h); diff --git a/src/KubeUI.Core/KubeUI.Core.csproj b/src/KubeUI.Core/KubeUI.Core.csproj index 0891cd49..b88e6ec8 100644 --- a/src/KubeUI.Core/KubeUI.Core.csproj +++ b/src/KubeUI.Core/KubeUI.Core.csproj @@ -25,7 +25,7 @@ - +