diff --git a/Bloxstrap/UI/Elements/Controls/Expander.xaml b/Bloxstrap/UI/Elements/Controls/Expander.xaml index eff9ce4..7306fd1 100644 --- a/Bloxstrap/UI/Elements/Controls/Expander.xaml +++ b/Bloxstrap/UI/Elements/Controls/Expander.xaml @@ -8,7 +8,7 @@ mc:Ignorable="d" d:DesignHeight="450" d:DesignWidth="800" x:Name="Control"> - + diff --git a/Bloxstrap/UI/Elements/Controls/Expander.xaml.cs b/Bloxstrap/UI/Elements/Controls/Expander.xaml.cs index 5dcda3a..9f82ab0 100644 --- a/Bloxstrap/UI/Elements/Controls/Expander.xaml.cs +++ b/Bloxstrap/UI/Elements/Controls/Expander.xaml.cs @@ -23,6 +23,9 @@ namespace Bloxstrap.UI.Elements.Controls [ContentProperty(nameof(InnerContent))] public partial class Expander : UserControl { + public static readonly DependencyProperty IsExpandedProperty = + DependencyProperty.Register(nameof(IsExpanded), typeof(bool), typeof(Expander)); + public static readonly DependencyProperty HeaderIconProperty = DependencyProperty.Register(nameof(HeaderIcon), typeof(SymbolRegular), typeof(Expander)); @@ -32,6 +35,12 @@ namespace Bloxstrap.UI.Elements.Controls public static readonly DependencyProperty InnerContentProperty = DependencyProperty.Register(nameof(InnerContent), typeof(object), typeof(Expander)); + public bool IsExpanded + { + get { return (bool)GetValue(IsExpandedProperty); } + set { SetValue(IsExpandedProperty, value); } + } + public string HeaderText { get { return (string)GetValue(HeaderTextProperty); } diff --git a/Bloxstrap/UI/Elements/Menu/Pages/AboutPage.xaml b/Bloxstrap/UI/Elements/Menu/Pages/AboutPage.xaml index 4177135..f1df55f 100644 --- a/Bloxstrap/UI/Elements/Menu/Pages/AboutPage.xaml +++ b/Bloxstrap/UI/Elements/Menu/Pages/AboutPage.xaml @@ -76,13 +76,48 @@ + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -96,7 +131,7 @@ - + @@ -113,13 +148,7 @@ - - - +