diff --git a/Version.json b/Version.json index adf8c7f..787c13a 100644 --- a/Version.json +++ b/Version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "2.1.3", + "version": "2.2", "publicReleaseRefSpec": [ "^refs/heads/master$", "^refs/heads/main$" diff --git a/src/CrissCross.WPF.UI.Gallery/MainWindow.xaml b/src/CrissCross.WPF.UI.Gallery/MainWindow.xaml index c860a60..5b1fa80 100644 --- a/src/CrissCross.WPF.UI.Gallery/MainWindow.xaml +++ b/src/CrissCross.WPF.UI.Gallery/MainWindow.xaml @@ -14,14 +14,13 @@ x:TypeArguments="local:MainWindowViewModel" mc:Ignorable="d"> - + - + - diff --git a/src/CrissCross.WPF.UI.Gallery/Views/MainView.xaml b/src/CrissCross.WPF.UI.Gallery/Views/MainView.xaml index 980c4ac..2de1b0a 100644 --- a/src/CrissCross.WPF.UI.Gallery/Views/MainView.xaml +++ b/src/CrissCross.WPF.UI.Gallery/Views/MainView.xaml @@ -13,28 +13,46 @@ Margin="0,0,0,20" CanContentScroll="True" VerticalScrollBarVisibility="Auto"> - + + + + + + + + + + + + + + @@ -44,29 +62,34 @@ Text="<ui:TextBlock FontSize='20' FontWeight='Medium' Text='Welcome to CrissCross' />" /> - + diff --git a/src/CrissCross.WPF.UI/Controls/Card/Card.xaml b/src/CrissCross.WPF.UI/Controls/Card/Card.xaml index cf822a7..4394e37 100644 --- a/src/CrissCross.WPF.UI/Controls/Card/Card.xaml +++ b/src/CrissCross.WPF.UI/Controls/Card/Card.xaml @@ -44,7 +44,14 @@ + VerticalAlignment="{TemplateBinding VerticalContentAlignment}"> + + + + - + + + + + diff --git a/src/CrissCross.WPF.UI/Controls/CardAction/CardAction.xaml b/src/CrissCross.WPF.UI/Controls/CardAction/CardAction.xaml index b2f152f..c54a474 100644 --- a/src/CrissCross.WPF.UI/Controls/CardAction/CardAction.xaml +++ b/src/CrissCross.WPF.UI/Controls/CardAction/CardAction.xaml @@ -68,7 +68,14 @@ Grid.Column="1" VerticalAlignment="Center" Content="{TemplateBinding Content}" - TextElement.Foreground="{TemplateBinding Foreground}" /> + TextElement.Foreground="{TemplateBinding Foreground}"> + + + + + Text="{TemplateBinding Subtitle}" + TextAlignment="Center" + TextWrapping="Wrap" /> diff --git a/src/CrissCross.WPF.UI/Controls/CardControl/CardControl.xaml b/src/CrissCross.WPF.UI/Controls/CardControl/CardControl.xaml index 7cd66ae..b29af62 100644 --- a/src/CrissCross.WPF.UI/Controls/CardControl/CardControl.xaml +++ b/src/CrissCross.WPF.UI/Controls/CardControl/CardControl.xaml @@ -65,14 +65,28 @@ Grid.Column="1" VerticalAlignment="Center" Content="{TemplateBinding Header}" - TextElement.Foreground="{TemplateBinding Foreground}" /> + TextElement.Foreground="{TemplateBinding Foreground}"> + + + + + TextElement.Foreground="{TemplateBinding Foreground}"> + + + + diff --git a/src/CrissCross.WPF.UI/Controls/CardExpander/CardExpander.xaml b/src/CrissCross.WPF.UI/Controls/CardExpander/CardExpander.xaml index 4b9a231..6233516 100644 --- a/src/CrissCross.WPF.UI/Controls/CardExpander/CardExpander.xaml +++ b/src/CrissCross.WPF.UI/Controls/CardExpander/CardExpander.xaml @@ -24,7 +24,14 @@ Grid.Column="0" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" - Content="{TemplateBinding Content}" /> + Content="{TemplateBinding Content}"> + + + + + TextElement.Foreground="{TemplateBinding Foreground}"> + + + +