Skip to content

Commit

Permalink
Merge pull request #10138 from robloo/SplitView-StyledProperty
Browse files Browse the repository at this point in the history
Switch SplitView.IsPaneOpen to a StyledProperty
  • Loading branch information
grokys authored Feb 22, 2023
2 parents 3596149 + d1e7ec3 commit 80394d0
Show file tree
Hide file tree
Showing 6 changed files with 294 additions and 192 deletions.
4 changes: 2 additions & 2 deletions src/Avalonia.Controls/Expander.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ protected virtual void OnCollapsed(RoutedEventArgs eventArgs)
/// <summary>
/// Invoked just before the <see cref="Collapsing"/> event.
/// </summary>
protected virtual void OnCollapsing(RoutedEventArgs eventArgs)
protected virtual void OnCollapsing(CancelRoutedEventArgs eventArgs)
{
RaiseEvent(eventArgs);
}
Expand All @@ -207,7 +207,7 @@ protected virtual void OnExpanded(RoutedEventArgs eventArgs)
/// <summary>
/// Invoked just before the <see cref="Expanding"/> event.
/// </summary>
protected virtual void OnExpanding(RoutedEventArgs eventArgs)
protected virtual void OnExpanding(CancelRoutedEventArgs eventArgs)
{
RaiseEvent(eventArgs);
}
Expand Down
Loading

0 comments on commit 80394d0

Please sign in to comment.