-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Resizeable SplitViewPane #3793
Resizeable SplitViewPane #3793
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please look at the missing properties at HamburgerMenu.
I also got this while I'm dragging
System.Windows.Data Error: 8 : Cannot save value from target back to source. BindingExpression:Path=OpenPaneLength; DataItem='HamburgerMenu' (Name='HamburgerMenuControl'); target element is 'SplitView' (Name='MainSplitView'); target property is 'OpenPaneLength' (type 'Double') ArgumentException:'System.ArgumentException: '-503' is not a valid value for the 'System.Windows.FrameworkElement.Width' property on a Setter.
at System.Windows.Setter.Seal()
at System.Windows.SetterBaseCollection.Seal()
at System.Windows.Style.Seal()
at MahApps.Metro.Controls.HamburgerMenu.ChangeItemFocusVisualStyle() in d:\projects\git\MahApps.Metro\src\MahApps.Metro\Controls\HamburgerMenu\HamburgerMenu.Properties.cs:line 463
at MahApps.Metro.Controls.HamburgerMenu.OpenPaneLengthPropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs args) in d:\projects\git\MahApps.Metro\src\MahApps.Metro\Controls\HamburgerMenu\HamburgerMenu.Properties.cs:line 26
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at MS.Internal.Data.PropertyPathWorker.SetValue(Object item, Object value)
at System.Windows.Data.BindingExpression.UpdateSource(Object value)'
I don't get this error anymore. But you should double check anyway 😄 Have a great weekend |
b29169e
to
8fbcbc3
Compare
- First steps
…ximumOpenPaneLength didn't work.
…ggleSwitches to Demo
99d7eff
to
9217584
Compare
…ulate the correct value
…gth to calculate the correct value
@timunie your changes have been merged, thanks for your contribution 👍 |
Describe the changes you have made to improve this project
Style
for theThumb
bool
to indicate if Pane is ResizeableMinimumOpenPaneLength
andMaximumOpenPaneLength
Closed Issues
Closes #3763