feat: update to latest nightly.
This commit is contained in:
parent
95df47eeba
commit
39b17f52d1
6
.run/SC-Single.run.xml
Normal file
6
.run/SC-Single.run.xml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<component name="ProjectRunConfigurationManager">
|
||||||
|
<configuration default="false" name="SC-Single" type="DotNetFolderPublish" factoryName="Publish to folder">
|
||||||
|
<riderPublish configuration="Release" include_native_libs_for_self_extract="true" platform="Any CPU" produce_single_file="true" runtime="win-x64" self_contained="true" target_folder="$PROJECT_DIR$/demo/Semi.Avalonia.Demo.Desktop/bin/Release/net7.0/win-x64/publish" target_framework="net7.0" uuid_high="3088527218258560748" uuid_low="-8649338673481336678" />
|
||||||
|
<method v="2" />
|
||||||
|
</configuration>
|
||||||
|
</component>
|
@ -13,7 +13,7 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Avalonia.Android" Version="11.0.0-preview6" />
|
<PackageReference Include="Avalonia.Android" Version="11.0.999-cibuild0033637-beta" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -16,11 +16,11 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<RdXmlFile Include="rd.xml"/>
|
<RdXmlFile Include="rd.xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Avalonia.Desktop" Version="11.0.0-preview6" />
|
<PackageReference Include="Avalonia.Desktop" Version="11.0.999-cibuild0033637-beta" />
|
||||||
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
|
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
|
||||||
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.0.0-preview6" />
|
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.0.0-preview6" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Avalonia.Browser" Version="11.0.0-preview6" />
|
<PackageReference Include="Avalonia.Browser" Version="11.0.999-cibuild0033637-beta" />
|
||||||
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.0-preview6" />
|
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.999-cibuild0033637-beta" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using Avalonia;
|
using Avalonia;
|
||||||
|
using Avalonia.Controls;
|
||||||
using Avalonia.Controls.Primitives;
|
using Avalonia.Controls.Primitives;
|
||||||
using Avalonia.Input.Platform;
|
using Avalonia.Input.Platform;
|
||||||
using Avalonia.Media;
|
using Avalonia.Media;
|
||||||
@ -95,11 +96,12 @@ public class ColorDetailControl: TemplatedControl
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Application.Current is { Clipboard: { } c })
|
var toplevel = TopLevel.GetTopLevel(this);
|
||||||
|
if (toplevel?.Clipboard is { } c)
|
||||||
{
|
{
|
||||||
await c.SetTextAsync(text??string.Empty);
|
await c.SetTextAsync(text??string.Empty);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
@ -19,7 +19,7 @@
|
|||||||
Theme="{DynamicResource TitleTextBlock}" />
|
Theme="{DynamicResource TitleTextBlock}" />
|
||||||
<TabControl Grid.Row="1">
|
<TabControl Grid.Row="1">
|
||||||
<TabItem Header="Light">
|
<TabItem Header="Light">
|
||||||
<DataGrid IsReadOnly="True" Items="{TemplateBinding LightColors}">
|
<DataGrid IsReadOnly="True" ItemsSource="{TemplateBinding LightColors}">
|
||||||
<DataGrid.Columns>
|
<DataGrid.Columns>
|
||||||
<DataGridTemplateColumn Width="70" Header="Color">
|
<DataGridTemplateColumn Width="70" Header="Color">
|
||||||
<DataGridTemplateColumn.CellTemplate>
|
<DataGridTemplateColumn.CellTemplate>
|
||||||
@ -77,7 +77,7 @@
|
|||||||
</DataGrid>
|
</DataGrid>
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem Header="Dark">
|
<TabItem Header="Dark">
|
||||||
<DataGrid IsReadOnly="True" Items="{TemplateBinding DarkColors}">
|
<DataGrid IsReadOnly="True" ItemsSource="{TemplateBinding DarkColors}">
|
||||||
<DataGrid.Columns>
|
<DataGrid.Columns>
|
||||||
<DataGridTemplateColumn Width="70" Header="Color">
|
<DataGridTemplateColumn Width="70" Header="Color">
|
||||||
<DataGridTemplateColumn.CellTemplate>
|
<DataGridTemplateColumn.CellTemplate>
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
</Style>
|
</Style>
|
||||||
</StackPanel.Styles>
|
</StackPanel.Styles>
|
||||||
<AutoCompleteBox
|
<AutoCompleteBox
|
||||||
Items="{Binding States}"
|
ItemsSource="{Binding States}"
|
||||||
ValueMemberBinding="{Binding Name}"
|
ValueMemberBinding="{Binding Name}"
|
||||||
Watermark="Please select a State">
|
Watermark="Please select a State">
|
||||||
<AutoCompleteBox.ItemTemplate>
|
<AutoCompleteBox.ItemTemplate>
|
||||||
@ -31,7 +31,7 @@
|
|||||||
</AutoCompleteBox>
|
</AutoCompleteBox>
|
||||||
<AutoCompleteBox
|
<AutoCompleteBox
|
||||||
Classes="Large"
|
Classes="Large"
|
||||||
Items="{Binding States}"
|
ItemsSource="{Binding States}"
|
||||||
ValueMemberBinding="{ReflectionBinding Name}">
|
ValueMemberBinding="{ReflectionBinding Name}">
|
||||||
<AutoCompleteBox.ItemTemplate>
|
<AutoCompleteBox.ItemTemplate>
|
||||||
<DataTemplate DataType="local:StateData">
|
<DataTemplate DataType="local:StateData">
|
||||||
@ -41,7 +41,7 @@
|
|||||||
</AutoCompleteBox>
|
</AutoCompleteBox>
|
||||||
<AutoCompleteBox
|
<AutoCompleteBox
|
||||||
Classes="Small"
|
Classes="Small"
|
||||||
Items="{Binding States}"
|
ItemsSource="{Binding States}"
|
||||||
ValueMemberBinding="{ReflectionBinding Name}">
|
ValueMemberBinding="{ReflectionBinding Name}">
|
||||||
<AutoCompleteBox.ItemTemplate>
|
<AutoCompleteBox.ItemTemplate>
|
||||||
<DataTemplate DataType="local:StateData">
|
<DataTemplate DataType="local:StateData">
|
||||||
@ -51,7 +51,7 @@
|
|||||||
</AutoCompleteBox>
|
</AutoCompleteBox>
|
||||||
<AutoCompleteBox
|
<AutoCompleteBox
|
||||||
Classes="Bordered"
|
Classes="Bordered"
|
||||||
Items="{Binding States}"
|
ItemsSource="{Binding States}"
|
||||||
ValueMemberBinding="{ReflectionBinding Name}">
|
ValueMemberBinding="{ReflectionBinding Name}">
|
||||||
<AutoCompleteBox.ItemTemplate>
|
<AutoCompleteBox.ItemTemplate>
|
||||||
<DataTemplate DataType="local:StateData">
|
<DataTemplate DataType="local:StateData">
|
||||||
@ -61,7 +61,7 @@
|
|||||||
</AutoCompleteBox>
|
</AutoCompleteBox>
|
||||||
<AutoCompleteBox
|
<AutoCompleteBox
|
||||||
IsEnabled="False"
|
IsEnabled="False"
|
||||||
Items="{Binding States}"
|
ItemsSource="{Binding States}"
|
||||||
ValueMemberBinding="{ReflectionBinding Name}"
|
ValueMemberBinding="{ReflectionBinding Name}"
|
||||||
Watermark="Disabled">
|
Watermark="Disabled">
|
||||||
<AutoCompleteBox.ItemTemplate>
|
<AutoCompleteBox.ItemTemplate>
|
||||||
|
@ -143,7 +143,7 @@
|
|||||||
Name="dataGridEdit"
|
Name="dataGridEdit"
|
||||||
Grid.Row="1"
|
Grid.Row="1"
|
||||||
Margin="12"
|
Margin="12"
|
||||||
Items="{Binding DataGrid3Source}">
|
ItemsSource="{Binding DataGrid3Source}">
|
||||||
<DataGrid.Columns>
|
<DataGrid.Columns>
|
||||||
<DataGridTextColumn
|
<DataGridTextColumn
|
||||||
Width="2*"
|
Width="2*"
|
||||||
|
@ -38,7 +38,7 @@ public partial class DataGridDemo : UserControl
|
|||||||
collectionView1.SortDescriptions.Add(dataGridSortDescription);
|
collectionView1.SortDescriptions.Add(dataGridSortDescription);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
dg1.Items = collectionView1;
|
dg1.ItemsSource = collectionView1;
|
||||||
|
|
||||||
var dg2 = this.Get<DataGrid>("dataGridGrouping");
|
var dg2 = this.Get<DataGrid>("dataGridGrouping");
|
||||||
dg2.IsReadOnly = true;
|
dg2.IsReadOnly = true;
|
||||||
@ -46,7 +46,7 @@ public partial class DataGridDemo : UserControl
|
|||||||
var collectionView2 = new DataGridCollectionView(Countries.All);
|
var collectionView2 = new DataGridCollectionView(Countries.All);
|
||||||
collectionView2.GroupDescriptions.Add(new DataGridPathGroupDescription("Region"));
|
collectionView2.GroupDescriptions.Add(new DataGridPathGroupDescription("Region"));
|
||||||
|
|
||||||
dg2.Items = collectionView2;
|
dg2.ItemsSource = collectionView2;
|
||||||
|
|
||||||
var dg3 = this.Get<DataGrid>("dataGridEdit");
|
var dg3 = this.Get<DataGrid>("dataGridEdit");
|
||||||
dg3.IsReadOnly = false;
|
dg3.IsReadOnly = false;
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
<Button Content="Hello Avalonia World!" />
|
<Button Content="Hello Avalonia World!" />
|
||||||
</Expander>
|
</Expander>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<Grid ColumnDefinitions="* *">
|
<Grid ColumnDefinitions="*, *">
|
||||||
<Expander
|
<Expander
|
||||||
Height="200"
|
Height="200"
|
||||||
ExpandDirection="Right"
|
ExpandDirection="Right"
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
<Grid
|
<Grid
|
||||||
HorizontalAlignment="Center"
|
HorizontalAlignment="Center"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
ColumnDefinitions="* * * * *"
|
ColumnDefinitions="*, *, *, *, *"
|
||||||
RowDefinitions="* * * * *">
|
RowDefinitions="*, *, *, *, *">
|
||||||
<Button
|
<Button
|
||||||
Grid.Row="0"
|
Grid.Row="0"
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
|
@ -96,8 +96,8 @@
|
|||||||
</StackPanel>
|
</StackPanel>
|
||||||
</CheckBox>
|
</CheckBox>
|
||||||
<CheckBox
|
<CheckBox
|
||||||
IsChecked="True"
|
|
||||||
Margin="4"
|
Margin="4"
|
||||||
|
IsChecked="True"
|
||||||
Theme="{StaticResource CardCheckBox}">
|
Theme="{StaticResource CardCheckBox}">
|
||||||
<StackPanel>
|
<StackPanel>
|
||||||
<TextBlock FontWeight="Bold">Option 2</TextBlock>
|
<TextBlock FontWeight="Bold">Option 2</TextBlock>
|
||||||
@ -105,9 +105,9 @@
|
|||||||
</StackPanel>
|
</StackPanel>
|
||||||
</CheckBox>
|
</CheckBox>
|
||||||
<CheckBox
|
<CheckBox
|
||||||
IsThreeState="True"
|
|
||||||
IsChecked="{x:Null}"
|
|
||||||
Margin="4"
|
Margin="4"
|
||||||
|
IsChecked="{x:Null}"
|
||||||
|
IsThreeState="True"
|
||||||
Theme="{StaticResource CardCheckBox}">
|
Theme="{StaticResource CardCheckBox}">
|
||||||
<StackPanel>
|
<StackPanel>
|
||||||
<TextBlock FontWeight="Bold">Option 3</TextBlock>
|
<TextBlock FontWeight="Bold">Option 3</TextBlock>
|
||||||
@ -123,8 +123,8 @@
|
|||||||
</StackPanel>
|
</StackPanel>
|
||||||
</CheckBox>
|
</CheckBox>
|
||||||
<CheckBox
|
<CheckBox
|
||||||
IsChecked="True"
|
|
||||||
Margin="4"
|
Margin="4"
|
||||||
|
IsChecked="True"
|
||||||
Theme="{StaticResource PureCardCheckBox}">
|
Theme="{StaticResource PureCardCheckBox}">
|
||||||
<StackPanel>
|
<StackPanel>
|
||||||
<TextBlock FontWeight="Bold">Option 2</TextBlock>
|
<TextBlock FontWeight="Bold">Option 2</TextBlock>
|
||||||
@ -133,8 +133,8 @@
|
|||||||
</CheckBox>
|
</CheckBox>
|
||||||
<CheckBox
|
<CheckBox
|
||||||
Margin="4"
|
Margin="4"
|
||||||
IsThreeState="True"
|
|
||||||
IsChecked="{x:Null}"
|
IsChecked="{x:Null}"
|
||||||
|
IsThreeState="True"
|
||||||
Theme="{StaticResource PureCardCheckBox}">
|
Theme="{StaticResource PureCardCheckBox}">
|
||||||
<StackPanel>
|
<StackPanel>
|
||||||
<TextBlock FontWeight="Bold">Option 3</TextBlock>
|
<TextBlock FontWeight="Bold">Option 3</TextBlock>
|
||||||
@ -179,7 +179,7 @@
|
|||||||
<TimePicker />
|
<TimePicker />
|
||||||
<CalendarDatePicker />
|
<CalendarDatePicker />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<Grid ColumnDefinitions="* * *">
|
<Grid ColumnDefinitions="*, *, *">
|
||||||
<Border Theme="{StaticResource CardBorder}">
|
<Border Theme="{StaticResource CardBorder}">
|
||||||
<TextBlock>Card</TextBlock>
|
<TextBlock>Card</TextBlock>
|
||||||
</Border>
|
</Border>
|
||||||
|
@ -63,7 +63,7 @@
|
|||||||
Theme="{DynamicResource TitleTextBlock}" />
|
Theme="{DynamicResource TitleTextBlock}" />
|
||||||
<TabControl>
|
<TabControl>
|
||||||
<TabItem Header="Light">
|
<TabItem Header="Light">
|
||||||
<ItemsControl Margin="16" Items="{Binding LightLists}">
|
<ItemsControl Margin="16" ItemsSource="{Binding LightLists}">
|
||||||
<ItemsControl.ItemsPanel>
|
<ItemsControl.ItemsPanel>
|
||||||
<ItemsPanelTemplate>
|
<ItemsPanelTemplate>
|
||||||
<WrapPanel Orientation="Horizontal" />
|
<WrapPanel Orientation="Horizontal" />
|
||||||
@ -71,7 +71,7 @@
|
|||||||
</ItemsControl.ItemsPanel>
|
</ItemsControl.ItemsPanel>
|
||||||
<ItemsControl.ItemTemplate>
|
<ItemsControl.ItemTemplate>
|
||||||
<DataTemplate x:DataType="viewModels:ColorListViewModel">
|
<DataTemplate x:DataType="viewModels:ColorListViewModel">
|
||||||
<ItemsControl Margin="4,0" Items="{Binding Color}">
|
<ItemsControl Margin="4,0" ItemsSource="{Binding Color}">
|
||||||
<ItemsControl.ItemTemplate>
|
<ItemsControl.ItemTemplate>
|
||||||
<DataTemplate x:DataType="viewModels:ColorItemViewModel">
|
<DataTemplate x:DataType="viewModels:ColorItemViewModel">
|
||||||
<controls:ColorItemControl
|
<controls:ColorItemControl
|
||||||
@ -87,7 +87,7 @@
|
|||||||
</ItemsControl>
|
</ItemsControl>
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem Header="Dark">
|
<TabItem Header="Dark">
|
||||||
<ItemsControl Margin="16" Items="{Binding DarkLists}">
|
<ItemsControl Margin="16" ItemsSource="{Binding DarkLists}">
|
||||||
<ItemsControl.ItemsPanel>
|
<ItemsControl.ItemsPanel>
|
||||||
<ItemsPanelTemplate>
|
<ItemsPanelTemplate>
|
||||||
<WrapPanel Orientation="Horizontal" />
|
<WrapPanel Orientation="Horizontal" />
|
||||||
@ -95,7 +95,7 @@
|
|||||||
</ItemsControl.ItemsPanel>
|
</ItemsControl.ItemsPanel>
|
||||||
<ItemsControl.ItemTemplate>
|
<ItemsControl.ItemTemplate>
|
||||||
<DataTemplate x:DataType="viewModels:ColorListViewModel">
|
<DataTemplate x:DataType="viewModels:ColorListViewModel">
|
||||||
<ItemsControl Margin="4,0" Items="{Binding Color}">
|
<ItemsControl Margin="4,0" ItemsSource="{Binding Color}">
|
||||||
<ItemsControl.ItemTemplate>
|
<ItemsControl.ItemTemplate>
|
||||||
<DataTemplate x:DataType="viewModels:ColorItemViewModel">
|
<DataTemplate x:DataType="viewModels:ColorItemViewModel">
|
||||||
<controls:ColorItemControl
|
<controls:ColorItemControl
|
||||||
@ -112,7 +112,7 @@
|
|||||||
</TabItem>
|
</TabItem>
|
||||||
</TabControl>
|
</TabControl>
|
||||||
|
|
||||||
<ItemsControl Items="{Binding FunctionalColors}">
|
<ItemsControl ItemsSource="{Binding FunctionalColors}">
|
||||||
<ItemsControl.ItemTemplate>
|
<ItemsControl.ItemTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
<!-- -->
|
<!-- -->
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Avalonia" Version="11.0.0-preview6" />
|
<PackageReference Include="Avalonia" Version="11.0.999-cibuild0033637-beta" />
|
||||||
<PackageReference Include="Avalonia.Controls.DataGrid" Version="11.0.0-preview6" />
|
<PackageReference Include="Avalonia.Controls.DataGrid" Version="11.0.999-cibuild0033637-beta" />
|
||||||
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
|
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
|
||||||
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.0.0-preview6" />
|
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.0.0-preview6" />
|
||||||
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.1.0" />
|
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.1.0" />
|
||||||
|
@ -188,7 +188,7 @@
|
|||||||
Margin="12"
|
Margin="12"
|
||||||
VerticalAlignment="Stretch"
|
VerticalAlignment="Stretch"
|
||||||
ItemContainerTheme="{DynamicResource ColorViewPaletteListBoxItemTheme}"
|
ItemContainerTheme="{DynamicResource ColorViewPaletteListBoxItemTheme}"
|
||||||
Items="{TemplateBinding PaletteColors}"
|
ItemsSource="{TemplateBinding PaletteColors}"
|
||||||
SelectedItem="{Binding Color, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource DoNothingForNullConverter}, Mode=TwoWay}"
|
SelectedItem="{Binding Color, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource DoNothingForNullConverter}, Mode=TwoWay}"
|
||||||
Theme="{DynamicResource ColorViewPaletteListBoxTheme}"
|
Theme="{DynamicResource ColorViewPaletteListBoxTheme}"
|
||||||
UseLayoutRounding="False">
|
UseLayoutRounding="False">
|
||||||
|
@ -280,7 +280,7 @@
|
|||||||
Margin="12"
|
Margin="12"
|
||||||
VerticalAlignment="Stretch"
|
VerticalAlignment="Stretch"
|
||||||
ItemContainerTheme="{StaticResource ColorViewPaletteListBoxItemTheme}"
|
ItemContainerTheme="{StaticResource ColorViewPaletteListBoxItemTheme}"
|
||||||
Items="{TemplateBinding PaletteColors}"
|
ItemsSource="{TemplateBinding PaletteColors}"
|
||||||
SelectedItem="{Binding Color, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource DoNothingForNullConverter}, Mode=TwoWay}"
|
SelectedItem="{Binding Color, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource DoNothingForNullConverter}, Mode=TwoWay}"
|
||||||
Theme="{StaticResource ColorViewPaletteListBoxTheme}"
|
Theme="{StaticResource ColorViewPaletteListBoxTheme}"
|
||||||
UseLayoutRounding="False">
|
UseLayoutRounding="False">
|
||||||
|
@ -4,12 +4,12 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Title>Semi.Avalonia.ColorPicker</Title>
|
<Title>Semi.Avalonia.ColorPicker</Title>
|
||||||
<PackageReleaseNotes>Upgrade to Avalonia 11.0.0-preview6.</PackageReleaseNotes>
|
<PackageReleaseNotes>https://github.com/irihitech/Semi.Avalonia/releases/tag/v0.1.0-preview6.1</PackageReleaseNotes>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Avalonia" Version="$(AvaloniaVersion)" />
|
<PackageReference Include="Avalonia" Version="11.0.999-cibuild0033637-beta" />
|
||||||
<PackageReference Include="Avalonia.Controls.ColorPicker" Version="$(AvaloniaVersion)" />
|
<PackageReference Include="Avalonia.Controls.ColorPicker" Version="11.0.999-cibuild0033637-beta" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<Import Project="../Package.props"/>
|
<Import Project="../Package.props" />
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Title>Semi.Avalonia.DataGrid</Title>
|
<Title>Semi.Avalonia.DataGrid</Title>
|
||||||
<PackageReleaseNotes>Upgrade to Avalonia 11.0.0-preview6.</PackageReleaseNotes>
|
<PackageReleaseNotes>https://github.com/irihitech/Semi.Avalonia/releases/tag/v0.1.0-preview6.1</PackageReleaseNotes>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Avalonia" Version="$(AvaloniaVersion)" />
|
<PackageReference Include="Avalonia" Version="11.0.999-cibuild0033637-beta" />
|
||||||
<PackageReference Include="Avalonia.Controls.DataGrid" Version="$(AvaloniaVersion)" />
|
<PackageReference Include="Avalonia.Controls.DataGrid" Version="11.0.999-cibuild0033637-beta" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -141,7 +141,7 @@
|
|||||||
HorizontalAlignment="Center"
|
HorizontalAlignment="Center"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
ItemContainerTheme="{DynamicResource CarouselIndicatorDotListBoxItem}"
|
ItemContainerTheme="{DynamicResource CarouselIndicatorDotListBoxItem}"
|
||||||
ItemsSource="{TemplateBinding Items,
|
ItemsSource="{TemplateBinding ItemsSource,
|
||||||
Converter={StaticResource ItemsConverter}}"
|
Converter={StaticResource ItemsConverter}}"
|
||||||
SelectedIndex="{Binding SelectedIndex, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}">
|
SelectedIndex="{Binding SelectedIndex, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}">
|
||||||
<ListBox.ItemsPanel>
|
<ListBox.ItemsPanel>
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
<ListBox
|
<ListBox
|
||||||
x:Name="PART_QuickLinks"
|
x:Name="PART_QuickLinks"
|
||||||
Focusable="False"
|
Focusable="False"
|
||||||
Items="{Binding QuickLinks}"
|
ItemsSource="{Binding QuickLinks}"
|
||||||
SelectedIndex="{Binding QuickLinksSelectedIndex}">
|
SelectedIndex="{Binding QuickLinksSelectedIndex}">
|
||||||
<ListBox.ItemTemplate>
|
<ListBox.ItemTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
@ -74,7 +74,7 @@
|
|||||||
Margin="8,0,0,0"
|
Margin="8,0,0,0"
|
||||||
DockPanel.Dock="Right"
|
DockPanel.Dock="Right"
|
||||||
IsVisible="{Binding ShowFilters}"
|
IsVisible="{Binding ShowFilters}"
|
||||||
Items="{Binding Filters}"
|
ItemsSource="{Binding Filters}"
|
||||||
SelectedItem="{Binding SelectedFilter}" />
|
SelectedItem="{Binding SelectedFilter}" />
|
||||||
<TextBox
|
<TextBox
|
||||||
IsVisible="{Binding !SelectingFolder}"
|
IsVisible="{Binding !SelectingFolder}"
|
||||||
@ -142,7 +142,7 @@
|
|||||||
</Grid>
|
</Grid>
|
||||||
<ListBox
|
<ListBox
|
||||||
Name="PART_Files"
|
Name="PART_Files"
|
||||||
Items="{Binding Items}"
|
ItemsSource="{Binding Items}"
|
||||||
SelectedItems="{Binding SelectedItems}"
|
SelectedItems="{Binding SelectedItems}"
|
||||||
SelectionMode="{Binding SelectionMode}">
|
SelectionMode="{Binding SelectionMode}">
|
||||||
<ListBox.ItemTemplate>
|
<ListBox.ItemTemplate>
|
||||||
|
@ -65,17 +65,15 @@
|
|||||||
<ScrollContentPresenter
|
<ScrollContentPresenter
|
||||||
Name="PART_ContentPresenter"
|
Name="PART_ContentPresenter"
|
||||||
Margin="{TemplateBinding Padding}"
|
Margin="{TemplateBinding Padding}"
|
||||||
CanHorizontallyScroll="{TemplateBinding CanHorizontallyScroll}"
|
HorizontalSnapPointsAlignment="{TemplateBinding HorizontalSnapPointsAlignment}"
|
||||||
CanVerticallyScroll="{TemplateBinding CanVerticallyScroll}"
|
HorizontalSnapPointsType="{TemplateBinding HorizontalSnapPointsType}"
|
||||||
Content="{TemplateBinding Content}"
|
VerticalSnapPointsAlignment="{TemplateBinding VerticalSnapPointsAlignment}"
|
||||||
Extent="{TemplateBinding Extent,
|
VerticalSnapPointsType="{TemplateBinding VerticalSnapPointsType}">
|
||||||
Mode=TwoWay}"
|
|
||||||
Viewport="{TemplateBinding Viewport,
|
|
||||||
Mode=TwoWay}"
|
|
||||||
Offset="{TemplateBinding Offset,
|
|
||||||
Mode=TwoWay}">
|
|
||||||
<ScrollContentPresenter.GestureRecognizers>
|
<ScrollContentPresenter.GestureRecognizers>
|
||||||
<ScrollGestureRecognizer CanHorizontallyScroll="{TemplateBinding CanHorizontallyScroll}" CanVerticallyScroll="{TemplateBinding CanVerticallyScroll}" />
|
<ScrollGestureRecognizer
|
||||||
|
CanHorizontallyScroll="{Binding CanHorizontallyScroll, ElementName=PART_ContentPresenter}"
|
||||||
|
CanVerticallyScroll="{Binding CanVerticallyScroll, ElementName=PART_ContentPresenter}"
|
||||||
|
IsScrollInertiaEnabled="{Binding IsScrollInertiaEnabled, RelativeSource={RelativeSource TemplatedParent}}" />
|
||||||
</ScrollContentPresenter.GestureRecognizers>
|
</ScrollContentPresenter.GestureRecognizers>
|
||||||
</ScrollContentPresenter>
|
</ScrollContentPresenter>
|
||||||
</DockPanel>
|
</DockPanel>
|
||||||
|
@ -210,48 +210,27 @@
|
|||||||
Name="PART_ContentPresenter"
|
Name="PART_ContentPresenter"
|
||||||
Padding="{TemplateBinding Padding}"
|
Padding="{TemplateBinding Padding}"
|
||||||
Background="{TemplateBinding Background}"
|
Background="{TemplateBinding Background}"
|
||||||
CanHorizontallyScroll="{TemplateBinding CanHorizontallyScroll}"
|
HorizontalSnapPointsAlignment="{TemplateBinding HorizontalSnapPointsAlignment}"
|
||||||
CanVerticallyScroll="{TemplateBinding CanVerticallyScroll}"
|
HorizontalSnapPointsType="{TemplateBinding HorizontalSnapPointsType}"
|
||||||
Content="{TemplateBinding Content}"
|
VerticalSnapPointsAlignment="{TemplateBinding VerticalSnapPointsAlignment}"
|
||||||
Extent="{TemplateBinding Extent,
|
VerticalSnapPointsType="{TemplateBinding VerticalSnapPointsType}">
|
||||||
Mode=TwoWay}"
|
|
||||||
IsScrollChainingEnabled="{TemplateBinding IsScrollChainingEnabled}"
|
|
||||||
Viewport="{TemplateBinding Viewport,
|
|
||||||
Mode=TwoWay}"
|
|
||||||
Offset="{TemplateBinding Offset,
|
|
||||||
Mode=TwoWay}">
|
|
||||||
<ScrollContentPresenter.GestureRecognizers>
|
<ScrollContentPresenter.GestureRecognizers>
|
||||||
<ScrollGestureRecognizer CanHorizontallyScroll="{TemplateBinding CanHorizontallyScroll}" CanVerticallyScroll="{TemplateBinding CanVerticallyScroll}" />
|
<ScrollGestureRecognizer
|
||||||
|
CanHorizontallyScroll="{Binding CanHorizontallyScroll, ElementName=PART_ContentPresenter}"
|
||||||
|
CanVerticallyScroll="{Binding CanVerticallyScroll, ElementName=PART_ContentPresenter}"
|
||||||
|
IsScrollInertiaEnabled="{Binding IsScrollInertiaEnabled, RelativeSource={RelativeSource TemplatedParent}}" />
|
||||||
</ScrollContentPresenter.GestureRecognizers>
|
</ScrollContentPresenter.GestureRecognizers>
|
||||||
</ScrollContentPresenter>
|
</ScrollContentPresenter>
|
||||||
<ScrollBar
|
<ScrollBar
|
||||||
Name="horizontalScrollBar"
|
Name="PART_HorizontalScrollBar"
|
||||||
Grid.Row="1"
|
Grid.Row="1"
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
Focusable="False"
|
Orientation="Horizontal" />
|
||||||
LargeChange="{Binding LargeChange.Width, RelativeSource={RelativeSource TemplatedParent}}"
|
|
||||||
Maximum="{TemplateBinding HorizontalScrollBarMaximum}"
|
|
||||||
Opacity="0"
|
|
||||||
Orientation="Horizontal"
|
|
||||||
SmallChange="{Binding SmallChange.Width, RelativeSource={RelativeSource TemplatedParent}}"
|
|
||||||
ViewportSize="{TemplateBinding HorizontalScrollBarViewportSize}"
|
|
||||||
Visibility="{TemplateBinding HorizontalScrollBarVisibility}"
|
|
||||||
Value="{TemplateBinding HorizontalScrollBarValue,
|
|
||||||
Mode=TwoWay}" />
|
|
||||||
<ScrollBar
|
<ScrollBar
|
||||||
Name="verticalScrollBar"
|
Name="PART_VerticalScrollBar"
|
||||||
Grid.Row="0"
|
Grid.Row="0"
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
Focusable="False"
|
Orientation="Vertical" />
|
||||||
LargeChange="{Binding LargeChange.Height, RelativeSource={RelativeSource TemplatedParent}}"
|
|
||||||
Maximum="{TemplateBinding VerticalScrollBarMaximum}"
|
|
||||||
Opacity="0"
|
|
||||||
Orientation="Vertical"
|
|
||||||
SmallChange="{Binding SmallChange.Height, RelativeSource={RelativeSource TemplatedParent}}"
|
|
||||||
ViewportSize="{TemplateBinding VerticalScrollBarViewportSize}"
|
|
||||||
Visibility="{TemplateBinding VerticalScrollBarVisibility}"
|
|
||||||
Value="{TemplateBinding VerticalScrollBarValue,
|
|
||||||
Mode=TwoWay}" />
|
|
||||||
<Panel
|
<Panel
|
||||||
Grid.Row="1"
|
Grid.Row="1"
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
@ -304,18 +283,7 @@
|
|||||||
</RepeatButton.IsVisible>
|
</RepeatButton.IsVisible>
|
||||||
<Path Data="M 0 0 L 4 4 L 8 0 Z" />
|
<Path Data="M 0 0 L 4 4 L 8 0 Z" />
|
||||||
</RepeatButton>
|
</RepeatButton>
|
||||||
<ScrollContentPresenter
|
<ScrollContentPresenter Name="PART_ContentPresenter" Margin="{TemplateBinding Padding}" />
|
||||||
Name="PART_ContentPresenter"
|
|
||||||
Margin="{TemplateBinding Padding}"
|
|
||||||
CanHorizontallyScroll="{TemplateBinding CanHorizontallyScroll}"
|
|
||||||
CanVerticallyScroll="{TemplateBinding CanVerticallyScroll}"
|
|
||||||
Content="{TemplateBinding Content}"
|
|
||||||
Extent="{TemplateBinding Extent,
|
|
||||||
Mode=TwoWay}"
|
|
||||||
Viewport="{TemplateBinding Viewport,
|
|
||||||
Mode=TwoWay}"
|
|
||||||
Offset="{TemplateBinding Offset,
|
|
||||||
Mode=TwoWay}" />
|
|
||||||
</DockPanel>
|
</DockPanel>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Setter>
|
</Setter>
|
||||||
|
@ -4,11 +4,11 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Title>Semi.Avalonia</Title>
|
<Title>Semi.Avalonia</Title>
|
||||||
<PackageReleaseNotes>Upgrade to Avalonia 11.0.0-preview6. </PackageReleaseNotes>
|
<PackageReleaseNotes>https://github.com/irihitech/Semi.Avalonia/releases/tag/v0.1.0-preview6.1</PackageReleaseNotes>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Avalonia" Version="$(AvaloniaVersion)" />
|
<PackageReference Include="Avalonia" Version="11.0.999-cibuild0033637-beta" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user