fixed scrolling issue
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
<MenuFlyoutItem Click="MenuFlyoutItem_Click" Text="Close" />
|
<MenuFlyoutItem Click="MenuFlyoutItem_Click" Text="Close" />
|
||||||
</controls:NotificationFlyoutContextMenu>
|
</controls:NotificationFlyoutContextMenu>
|
||||||
</controls:NotificationFlyout.ContextMenu>
|
</controls:NotificationFlyout.ContextMenu>
|
||||||
<StackPanel Height="500" Margin="24">
|
<StackPanel Margin="24">
|
||||||
<ComboBox
|
<ComboBox
|
||||||
x:Name="Theme"
|
x:Name="Theme"
|
||||||
Margin="0,0,0,8"
|
Margin="0,0,0,8"
|
||||||
|
|||||||
@@ -13,6 +13,19 @@
|
|||||||
<Setter Property="Background" Value="Transparent" />
|
<Setter Property="Background" Value="Transparent" />
|
||||||
<Setter Property="IsDefaultShadowEnabled" Value="False" />
|
<Setter Property="IsDefaultShadowEnabled" Value="False" />
|
||||||
<Setter Property="Padding" Value="0" />
|
<Setter Property="Padding" Value="0" />
|
||||||
|
<Setter Property="Template">
|
||||||
|
<Setter.Value>
|
||||||
|
<ControlTemplate TargetType="FlyoutPresenter">
|
||||||
|
<ContentPresenter
|
||||||
|
Margin="{TemplateBinding Padding}"
|
||||||
|
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
|
||||||
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
||||||
|
Content="{TemplateBinding Content}"
|
||||||
|
ContentTemplate="{TemplateBinding ContentTemplate}"
|
||||||
|
ContentTransitions="{TemplateBinding ContentTransitions}" />
|
||||||
|
</ControlTemplate>
|
||||||
|
</Setter.Value>
|
||||||
|
</Setter>
|
||||||
</Style>
|
</Style>
|
||||||
<Style
|
<Style
|
||||||
x:Key="TopFlyoutPresenterStyle"
|
x:Key="TopFlyoutPresenterStyle"
|
||||||
|
|||||||
+2
@@ -33,6 +33,8 @@
|
|||||||
TintOpacity="0.8" />
|
TintOpacity="0.8" />
|
||||||
<Style TargetType="controls:NotificationFlyoutPresenter">
|
<Style TargetType="controls:NotificationFlyoutPresenter">
|
||||||
<Setter Property="Background" Value="{ThemeResource NotificationFlyoutPresenterBackgroundBrush}" />
|
<Setter Property="Background" Value="{ThemeResource NotificationFlyoutPresenterBackgroundBrush}" />
|
||||||
|
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" />
|
||||||
|
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Disabled" />
|
||||||
<Setter Property="Template">
|
<Setter Property="Template">
|
||||||
<Setter.Value>
|
<Setter.Value>
|
||||||
<ControlTemplate TargetType="controls:NotificationFlyoutPresenter">
|
<ControlTemplate TargetType="controls:NotificationFlyoutPresenter">
|
||||||
|
|||||||
Reference in New Issue
Block a user