feat: WIP fix xaml updates in 11.2.0
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<AvaloniaVersion>11.1.3</AvaloniaVersion>
|
<AvaloniaVersion>11.2.0-beta1</AvaloniaVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Version>1.4.0</Version>
|
<Version>1.6.0</Version>
|
||||||
<AvaloniaVersion>11.1.1</AvaloniaVersion>
|
<AvaloniaVersion>11.2.0</AvaloniaVersion>
|
||||||
<Authors>IRIHI Technology Co., Ltd.</Authors>
|
<Authors>IRIHI Technology Co., Ltd.</Authors>
|
||||||
<RepositoryUrl>https://github.com/irihitech/Ursa.Avalonia</RepositoryUrl>
|
<RepositoryUrl>https://github.com/irihitech/Ursa.Avalonia</RepositoryUrl>
|
||||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||||
|
|||||||
@@ -49,8 +49,12 @@
|
|||||||
<Rectangle Theme="{StaticResource DividerLeftLine}" />
|
<Rectangle Theme="{StaticResource DividerLeftLine}" />
|
||||||
<ContentPresenter
|
<ContentPresenter
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
IsVisible="{Binding Content, RelativeSource={RelativeSource TemplatedParent}, Converter={x:Static ObjectConverters.IsNotNull}}"
|
Content="{TemplateBinding Content}"
|
||||||
Theme="{StaticResource DividerContentPresenter}" />
|
Background="{TemplateBinding Background}"
|
||||||
|
Foreground="{TemplateBinding Foreground}"
|
||||||
|
ContentTemplate="{TemplateBinding ContentTemplate}"
|
||||||
|
Margin="{DynamicResource ThicknessDividerTextMargin}"
|
||||||
|
IsVisible="{Binding Content, RelativeSource={RelativeSource TemplatedParent}, Converter={x:Static ObjectConverters.IsNotNull}}"/>
|
||||||
<Rectangle Grid.Column="2" Theme="{StaticResource DividerRightLine}" />
|
<Rectangle Grid.Column="2" Theme="{StaticResource DividerRightLine}" />
|
||||||
</Grid>
|
</Grid>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
@@ -66,8 +70,12 @@
|
|||||||
<Rectangle Theme="{StaticResource DividerLeftLine}" />
|
<Rectangle Theme="{StaticResource DividerLeftLine}" />
|
||||||
<ContentPresenter
|
<ContentPresenter
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
IsVisible="{Binding Content, RelativeSource={RelativeSource TemplatedParent}, Converter={x:Static ObjectConverters.IsNotNull}}"
|
Content="{TemplateBinding Content}"
|
||||||
Theme="{StaticResource DividerContentPresenter}" />
|
Background="{TemplateBinding Background}"
|
||||||
|
Foreground="{TemplateBinding Foreground}"
|
||||||
|
ContentTemplate="{TemplateBinding ContentTemplate}"
|
||||||
|
Margin="{DynamicResource ThicknessDividerTextMargin}"
|
||||||
|
IsVisible="{Binding Content, RelativeSource={RelativeSource TemplatedParent}, Converter={x:Static ObjectConverters.IsNotNull}}"/>
|
||||||
<Rectangle Grid.Column="2" Theme="{StaticResource DividerRightLine}" />
|
<Rectangle Grid.Column="2" Theme="{StaticResource DividerRightLine}" />
|
||||||
</Grid>
|
</Grid>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
@@ -83,8 +91,12 @@
|
|||||||
<Rectangle Theme="{StaticResource DividerLeftLine}" />
|
<Rectangle Theme="{StaticResource DividerLeftLine}" />
|
||||||
<ContentPresenter
|
<ContentPresenter
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
IsVisible="{Binding Content, RelativeSource={RelativeSource TemplatedParent}, Converter={x:Static ObjectConverters.IsNotNull}}"
|
Content="{TemplateBinding Content}"
|
||||||
Theme="{StaticResource DividerContentPresenter}" />
|
Background="{TemplateBinding Background}"
|
||||||
|
Foreground="{TemplateBinding Foreground}"
|
||||||
|
ContentTemplate="{TemplateBinding ContentTemplate}"
|
||||||
|
Margin="{DynamicResource ThicknessDividerTextMargin}"
|
||||||
|
IsVisible="{Binding Content, RelativeSource={RelativeSource TemplatedParent}, Converter={x:Static ObjectConverters.IsNotNull}}"/>
|
||||||
<Rectangle Grid.Column="2" Theme="{StaticResource DividerRightLine}" />
|
<Rectangle Grid.Column="2" Theme="{StaticResource DividerRightLine}" />
|
||||||
</Grid>
|
</Grid>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
@@ -100,8 +112,12 @@
|
|||||||
<Rectangle Theme="{StaticResource DividerLeftLine}" />
|
<Rectangle Theme="{StaticResource DividerLeftLine}" />
|
||||||
<ContentPresenter
|
<ContentPresenter
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
IsVisible="{Binding Content, RelativeSource={RelativeSource TemplatedParent}, Converter={x:Static ObjectConverters.IsNotNull}}"
|
Content="{TemplateBinding Content}"
|
||||||
Theme="{StaticResource DividerContentPresenter}" />
|
Background="{TemplateBinding Background}"
|
||||||
|
Foreground="{TemplateBinding Foreground}"
|
||||||
|
ContentTemplate="{TemplateBinding ContentTemplate}"
|
||||||
|
Margin="{DynamicResource ThicknessDividerTextMargin}"
|
||||||
|
IsVisible="{Binding Content, RelativeSource={RelativeSource TemplatedParent}, Converter={x:Static ObjectConverters.IsNotNull}}"/>
|
||||||
<Rectangle Grid.Column="2" Theme="{StaticResource DividerRightLine}" />
|
<Rectangle Grid.Column="2" Theme="{StaticResource DividerRightLine}" />
|
||||||
</Grid>
|
</Grid>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
|
|||||||
@@ -11,36 +11,13 @@
|
|||||||
<Setter Property="ExtendClientAreaTitleBarHeightHint" Value="-1" />
|
<Setter Property="ExtendClientAreaTitleBarHeightHint" Value="-1" />
|
||||||
<Setter Property="ExtendClientAreaToDecorationsHint" Value="True" />
|
<Setter Property="ExtendClientAreaToDecorationsHint" Value="True" />
|
||||||
<Setter Property="u:OverlayDialogHost.IsModalStatusScope" Value="True" />
|
<Setter Property="u:OverlayDialogHost.IsModalStatusScope" Value="True" />
|
||||||
<Setter Property="IsMinimizeButtonVisible">
|
<!--
|
||||||
<OnPlatform>
|
<Setter Property="IsMinimizeButtonVisible" Value="{OnPlatform Default=True, Windows=True, Linux=True, macOS=False}" />
|
||||||
<On Options="Default, Windows, Linux">
|
|
||||||
<x:Boolean>True</x:Boolean>
|
<Setter Property="IsRestoreButtonVisible" Value="{OnPlatform Default=True, Windows=True, Linux=True, macOS=False}" />
|
||||||
</On>
|
|
||||||
<On Options="macOS">
|
<Setter Property="IsCloseButtonVisible" Value="{OnPlatform Default=True, Windows=True, Linux=True, macOS=False}" />
|
||||||
<x:Boolean>False</x:Boolean>
|
-->
|
||||||
</On>
|
|
||||||
</OnPlatform>
|
|
||||||
</Setter>
|
|
||||||
<Setter Property="IsRestoreButtonVisible">
|
|
||||||
<OnPlatform>
|
|
||||||
<On Options="Default, Windows, Linux">
|
|
||||||
<x:Boolean>True</x:Boolean>
|
|
||||||
</On>
|
|
||||||
<On Options="macOS">
|
|
||||||
<x:Boolean>False</x:Boolean>
|
|
||||||
</On>
|
|
||||||
</OnPlatform>
|
|
||||||
</Setter>
|
|
||||||
<Setter Property="IsCloseButtonVisible">
|
|
||||||
<OnPlatform>
|
|
||||||
<On Options="Default, Windows, Linux">
|
|
||||||
<x:Boolean>True</x:Boolean>
|
|
||||||
</On>
|
|
||||||
<On Options="macOS">
|
|
||||||
<x:Boolean>False</x:Boolean>
|
|
||||||
</On>
|
|
||||||
</OnPlatform>
|
|
||||||
</Setter>
|
|
||||||
<Setter Property="SystemDecorations">
|
<Setter Property="SystemDecorations">
|
||||||
<OnPlatform>
|
<OnPlatform>
|
||||||
<On Options="Default, Windows, macOS">
|
<On Options="Default, Windows, macOS">
|
||||||
|
|||||||
Reference in New Issue
Block a user