Skip to content

Commit

Permalink
Fixes #69 by adding correct FrameworkPropertyMetadataOptions to IsCol…
Browse files Browse the repository at this point in the history
…lapsed
  • Loading branch information
batzen committed Feb 24, 2015
1 parent f18a7a5 commit 50d1008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Fluent/Controls/RibbonTitleBar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public bool IsCollapsed
/// DependencyProperty for <see cref="IsCollapsed"/>
/// </summary>
public static readonly DependencyProperty IsCollapsedProperty =
DependencyProperty.Register("IsCollapsed", typeof(bool), typeof(RibbonTitleBar), new PropertyMetadata(false));
DependencyProperty.Register("IsCollapsed", typeof(bool), typeof(RibbonTitleBar), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsArrange | FrameworkPropertyMetadataOptions.AffectsMeasure));

private bool isAtLeastOneRequiredControlPresent;

Expand Down

0 comments on commit 50d1008

Please sign in to comment.