diff options
| author | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2023-06-06 14:56:59 +0300 |
|---|---|---|
| committer | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2023-06-06 14:56:59 +0300 |
| commit | 54624e4a90a240ad702995e1ed551901768e131f (patch) | |
| tree | 48ebd2cdf3024622dfa8717dfb6cf866a01b9de6 /Software/Visual_Studio/Tango.Touch/Controls | |
| parent | 6ebf2ef8590a3f58b77c2b05e8c49c409b75a040 (diff) | |
| download | Tango-54624e4a90a240ad702995e1ed551901768e131f.tar.gz Tango-54624e4a90a240ad702995e1ed551901768e131f.zip | |
Open Notifications bar when an error happens
Related Work Items: #8534
Diffstat (limited to 'Software/Visual_Studio/Tango.Touch/Controls')
| -rw-r--r-- | Software/Visual_Studio/Tango.Touch/Controls/TouchExpander.cs | 7 |
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() { |
