From ce9dd644fc8314e742000b085972875dffd88fcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Erbsh=C3=A4u=C3=9Fer?= Date: Wed, 10 Jun 2020 14:05:19 +0200 Subject: [PATCH] Filled landlord page. --- ucalc/Controls/ErrorCounter.xaml | 7 +- ucalc/Controls/ErrorCounter.xaml.cs | 18 ++- ucalc/Controls/SectionHeader.xaml | 33 +++++ ucalc/Controls/SectionHeader.xaml.cs | 12 ++ ucalc/Pages/LandlordPage.xaml | 193 ++++++++++++++++++++++++++- ucalc/Pages/SideBar.xaml | 2 +- ucalc/ucalc.csproj | 6 + 7 files changed, 261 insertions(+), 10 deletions(-) create mode 100644 ucalc/Controls/SectionHeader.xaml create mode 100644 ucalc/Controls/SectionHeader.xaml.cs diff --git a/ucalc/Controls/ErrorCounter.xaml b/ucalc/Controls/ErrorCounter.xaml index cd97301..deb2844 100644 --- a/ucalc/Controls/ErrorCounter.xaml +++ b/ucalc/Controls/ErrorCounter.xaml @@ -6,9 +6,14 @@ xmlns:local="clr-namespace:UCalc.Controls" mc:Ignorable="d"> + + + + + Background="Red" + Visibility="{Binding Path=Model.ErrorCount, RelativeSource={RelativeSource AncestorType=local:ErrorCounter}, Converter={StaticResource ErrorCountToVisibilityConverter}}">