wip
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ namespace NotificationFlyout.Uwp.UI.Controls
|
||||
{
|
||||
if (_root == null) return;
|
||||
var flyout = FlyoutBase.GetAttachedFlyout(_root);
|
||||
flyout.ShowAt(_root, new FlyoutShowOptions { Placement = placementMode });
|
||||
flyout.ShowAt(_root, new FlyoutShowOptions { Placement = placementMode, ShowMode = FlyoutShowMode.Standard });
|
||||
}
|
||||
|
||||
public void ShowFlyout()
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
<ControlTemplate TargetType="controls:NotificationFlyoutPresenter">
|
||||
<Grid x:Name="Root">
|
||||
<FlyoutBase.AttachedFlyout>
|
||||
<Flyout ShouldConstrainToRootBounds="False" ShowMode="Standard">
|
||||
<Flyout ShouldConstrainToRootBounds="False">
|
||||
<ContentControl Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" />
|
||||
</Flyout>
|
||||
</FlyoutBase.AttachedFlyout>
|
||||
|
||||
Reference in New Issue
Block a user