Skip to content

Commit 6f21296

Browse files
committed
misc: using AvaloniaUseCompiledBindingsByDefault.
1 parent 865b453 commit 6f21296

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+60
-121
lines changed

src/Package.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<PackageIcon>irihi.png</PackageIcon>
1212
<PackageProjectUrl>https://github.com/irihitech/Semi.Avalonia</PackageProjectUrl>
1313
<AvaloniaVersion>11.2.1</AvaloniaVersion>
14+
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
1415
</PropertyGroup>
1516

1617
<ItemGroup>

src/Semi.Avalonia.ColorPicker/Controls/ColorPicker.axaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<ResourceDictionary
22
xmlns="https://github.com/avaloniaui"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4-
xmlns:converters="using:Avalonia.Controls.Converters"
5-
x:CompileBindings="True">
4+
xmlns:converters="using:Avalonia.Controls.Converters">
65
<converters:CornerRadiusFilterConverter x:Key="LeftCornerRadiusFilterConverter" Filter="TopLeft, BottomLeft" />
76
<converters:ToBrushConverter x:Key="ToBrushConverter" />
87

src/Semi.Avalonia.ColorPicker/Controls/ColorPreviewer.axaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
xmlns="https://github.com/avaloniaui"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
44
xmlns:converters="using:Avalonia.Controls.Converters"
5-
xmlns:pc="using:Avalonia.Controls.Primitives.Converters"
6-
x:CompileBindings="True">
5+
xmlns:pc="using:Avalonia.Controls.Primitives.Converters">
76
<pc:AccentColorConverter x:Key="AccentColorConverter" />
87
<converters:CornerRadiusFilterConverter x:Key="LeftCornerRadiusFilterConverter" Filter="TopLeft, BottomLeft" />
98
<converters:CornerRadiusFilterConverter x:Key="RightCornerRadiusFilterConverter" Filter="TopRight, BottomRight" />

src/Semi.Avalonia.ColorPicker/Controls/ColorSlider.axaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<ResourceDictionary
22
xmlns="https://github.com/avaloniaui"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4-
xmlns:converters="using:Avalonia.Controls.Converters"
5-
x:CompileBindings="True">
4+
xmlns:converters="using:Avalonia.Controls.Converters">
65
<converters:CornerRadiusToDoubleConverter x:Key="TopLeftCornerRadiusConverter" Corner="TopLeft" />
76
<converters:CornerRadiusToDoubleConverter x:Key="BottomRightCornerRadiusConverter" Corner="BottomRight" />
87

src/Semi.Avalonia.ColorPicker/Controls/ColorSpectrum.axaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<ResourceDictionary
22
xmlns="https://github.com/avaloniaui"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4-
xmlns:converters="using:Avalonia.Controls.Converters"
5-
x:CompileBindings="True">
4+
xmlns:converters="using:Avalonia.Controls.Converters">
65
<converters:EnumToBoolConverter x:Key="EnumToBoolConverter" />
76
<converters:CornerRadiusToDoubleConverter x:Key="TopLeftCornerRadiusConverter" Corner="TopLeft" />
87
<converters:CornerRadiusToDoubleConverter x:Key="BottomRightCornerRadiusConverter" Corner="BottomRight" />

src/Semi.Avalonia.ColorPicker/Controls/ColorView.axaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
xmlns:converters="using:Avalonia.Controls.Converters"
55
xmlns:globalization="using:System.Globalization"
66
xmlns:pc="using:Avalonia.Controls.Primitives.Converters"
7-
xmlns:cvts="clr-namespace:Semi.Avalonia.ColorPicker.Converters"
8-
x:CompileBindings="True">
7+
xmlns:cvts="clr-namespace:Semi.Avalonia.ColorPicker.Converters">
98
<pc:ContrastBrushConverter x:Key="ContrastBrushConverter" />
109
<converters:ColorToDisplayNameConverter x:Key="ColorToDisplayNameConverter" />
1110
<converters:ColorToHexConverter x:Key="ColorToHexConverter" />

src/Semi.Avalonia.ColorPicker/Controls/_index.axaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<ResourceDictionary
2-
x:CompileBindings="True"
32
xmlns="https://github.com/avaloniaui"
43
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
54
<ResourceDictionary.MergedDictionaries>

src/Semi.Avalonia/Controls/AdornerLayer.axaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<ResourceDictionary
22
xmlns="https://github.com/avaloniaui"
3-
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4-
x:CompileBindings="True">
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
54
<ControlTheme x:Key="{x:Type AdornerLayer}" TargetType="AdornerLayer">
65
<Setter Property="DefaultFocusAdorner">
76
<FocusAdornerTemplate>

src/Semi.Avalonia/Controls/AutoCompleteBox.axaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<ResourceDictionary
22
xmlns="https://github.com/avaloniaui"
3-
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4-
x:CompileBindings="True">
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
54
<Design.PreviewWith>
65
<StackPanel Margin="20" Spacing="20">
76
<TextBox Text="Hello" />

src/Semi.Avalonia/Controls/Border.axaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<ResourceDictionary
22
xmlns="https://github.com/avaloniaui"
3-
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4-
x:CompileBindings="True">
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
54
<Design.PreviewWith>
65
<StackPanel Margin="20" Spacing="20">
76
<Border Theme="{StaticResource CardBorder}">

0 commit comments

Comments
 (0)