chore: close #947
This commit is contained in:
1 parent
b406016587
commit
9afb1913d7
1 file changed
+12
@@ -104,4 +104,16 @@ public class TransitioningContentControl : ContentControl
|
||||
|
||||
StartTransition();
|
||||
}
|
||||
|
||||
protected override void OnContentChanged(object oldContent, object newContent)
|
||||
{
|
||||
base.OnContentChanged(oldContent, newContent);
|
||||
|
||||
if (newContent is null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
StartTransition();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user