aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Touch
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.Touch')
-rw-r--r--Software/Visual_Studio/Tango.Touch/Controls/TouchExpander.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.Touch/Controls/TouchExpander.cs b/Software/Visual_Studio/Tango.Touch/Controls/TouchExpander.cs
index b85be6c49..80974bd4a 100644
--- a/Software/Visual_Studio/Tango.Touch/Controls/TouchExpander.cs
+++ b/Software/Visual_Studio/Tango.Touch/Controls/TouchExpander.cs
@@ -39,7 +39,12 @@ namespace Tango.Touch.Controls
set { SetValue(IsExpandedProperty, value); }
}
public static readonly DependencyProperty IsExpandedProperty =
- DependencyProperty.Register("IsExpanded", typeof(bool), typeof(TouchExpander), new PropertyMetadata(false));
+ DependencyProperty.Register("IsExpanded", typeof(bool), typeof(TouchExpander), new FrameworkPropertyMetadata
+ {
+ DefaultValue = false,
+ BindsTwoWayByDefault = true,
+ DefaultUpdateSourceTrigger = UpdateSourceTrigger.PropertyChanged
+ });
static TouchExpander()
{