diff --git a/Material.Avalonia/Material.Avalonia.csproj b/Material.Avalonia/Material.Avalonia.csproj index f4d98214..fa2e5b5a 100644 --- a/Material.Avalonia/Material.Avalonia.csproj +++ b/Material.Avalonia/Material.Avalonia.csproj @@ -2,7 +2,7 @@ netstandard2.0 - 2.4.1 + 2.5.0 Material.Avalonia Larymar,SKProCH,Appleneko2001 This repository is a set of styles that will help you customize your application in an appropriate material design. @@ -12,7 +12,16 @@ git 8 - - Add support for vertically scrolling textboxes + - Allow the alignment of the snackbar to be configured #116 + - Prevent ArgumentNullException in StringToTransformConverter + - Replacing IBrush instead of Brush class in RippleEffect #114 + - Deprecate and replace Transitions instead of Animations in TreeView #117 + - Update DialogHost package, coerce styles, add examples #94 + - Replace ContentControl in CustomDialog with ContentPresenter for Content #121 + - Add recursive BundledTheme finding in resources for theming #120 + - Fix doubling the padding of the Card + - Add Label style #123 + - Fix show password button is not visible until clicked #124 diff --git a/Material.Demo/Models/Sample2Model.cs b/Material.Demo/Models/Sample2Model.cs new file mode 100644 index 00000000..11e921b9 --- /dev/null +++ b/Material.Demo/Models/Sample2Model.cs @@ -0,0 +1,8 @@ +namespace Material.Demo.Models { + public class Sample2Model { + public Sample2Model(int number) { + Number = number; + } + public int Number { get; set; } + } +} \ No newline at end of file diff --git a/Material.Demo/Pages/ComboBoxesDemo.axaml b/Material.Demo/Pages/ComboBoxesDemo.axaml index ccb07caf..7149d9a6 100644 --- a/Material.Demo/Pages/ComboBoxesDemo.axaml +++ b/Material.Demo/Pages/ComboBoxesDemo.axaml @@ -5,6 +5,7 @@ mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450" xmlns:styles="clr-namespace:Material.Styles;assembly=Material.Styles" xmlns:showMeTheXaml="clr-namespace:ShowMeTheXaml;assembly=ShowMeTheXaml.Avalonia" + xmlns:assist="clr-namespace:Material.Styles.Assists;assembly=Material.Styles" x:Class="Material.Demo.Pages.ComboBoxesDemo"> @@ -42,6 +43,14 @@ + + + + + + + + diff --git a/Material.Demo/Pages/DialogDemo.axaml b/Material.Demo/Pages/DialogDemo.axaml index 71b72e47..0120cc5c 100644 --- a/Material.Demo/Pages/DialogDemo.axaml +++ b/Material.Demo/Pages/DialogDemo.axaml @@ -1,98 +1,131 @@  - - - - - - - - - - - + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:styles="clr-namespace:Material.Styles;assembly=Material.Styles" + xmlns:viewModels="clr-namespace:Material.Demo.ViewModels" + xmlns:dialogHost="clr-namespace:DialogHost;assembly=DialogHost.Avalonia" + xmlns:models="clr-namespace:Material.Demo.Models" + x:Class="Material.Demo.Pages.DialogDemo" + x:DataType="viewModels:DialogDemoViewModel"> + + + + + + + + + - - - - - + + + + + + + + + + + + + - + + + + + + -