commit
4811e4b848
@ -183,7 +183,7 @@
|
|||||||
MinHeight="{DynamicResource MenuFlyoutMinHeight}"
|
MinHeight="{DynamicResource MenuFlyoutMinHeight}"
|
||||||
MaxWidth="{DynamicResource MenuFlyoutMaxWidth}"
|
MaxWidth="{DynamicResource MenuFlyoutMaxWidth}"
|
||||||
MaxHeight="{DynamicResource MenuFlyoutMaxHeight}"
|
MaxHeight="{DynamicResource MenuFlyoutMaxHeight}"
|
||||||
Margin="0,4"
|
Margin="4"
|
||||||
Padding="{DynamicResource MenuFlyoutPadding}"
|
Padding="{DynamicResource MenuFlyoutPadding}"
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
Background="{DynamicResource MenuFlyoutBackground}"
|
Background="{DynamicResource MenuFlyoutBackground}"
|
||||||
@ -284,14 +284,15 @@
|
|||||||
MinHeight="{DynamicResource MenuFlyoutMinHeight}"
|
MinHeight="{DynamicResource MenuFlyoutMinHeight}"
|
||||||
MaxWidth="{DynamicResource MenuFlyoutMaxWidth}"
|
MaxWidth="{DynamicResource MenuFlyoutMaxWidth}"
|
||||||
MaxHeight="{DynamicResource MenuFlyoutMaxHeight}"
|
MaxHeight="{DynamicResource MenuFlyoutMaxHeight}"
|
||||||
Margin="0,4"
|
Margin="4"
|
||||||
|
Padding="{DynamicResource MenuFlyoutPadding}"
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
Background="{DynamicResource MenuFlyoutBackground}"
|
Background="{DynamicResource MenuFlyoutBackground}"
|
||||||
BorderBrush="{DynamicResource MenuFlyoutBorderBrush}"
|
BorderBrush="{DynamicResource MenuFlyoutBorderBrush}"
|
||||||
BorderThickness="{DynamicResource MenuFlyoutBorderThickness}"
|
BorderThickness="{DynamicResource MenuFlyoutBorderThickness}"
|
||||||
BoxShadow="{DynamicResource MenuFlyoutBorderBoxShadow}"
|
BoxShadow="{DynamicResource MenuFlyoutBorderBoxShadow}"
|
||||||
CornerRadius="{DynamicResource MenuFlyoutCornerRadius}">
|
CornerRadius="{DynamicResource MenuFlyoutCornerRadius}">
|
||||||
<ScrollViewer Padding="{DynamicResource MenuFlyoutPadding}" Theme="{StaticResource MenuScrollViewer}">
|
<ScrollViewer Theme="{StaticResource MenuScrollViewer}">
|
||||||
<ItemsPresenter
|
<ItemsPresenter
|
||||||
Name="PART_ItemsPresenter"
|
Name="PART_ItemsPresenter"
|
||||||
Grid.IsSharedSizeScope="True"
|
Grid.IsSharedSizeScope="True"
|
||||||
|
@ -85,7 +85,7 @@
|
|||||||
BorderBrush="{TemplateBinding BorderBrush}"
|
BorderBrush="{TemplateBinding BorderBrush}"
|
||||||
BorderThickness="{TemplateBinding BorderThickness}"
|
BorderThickness="{TemplateBinding BorderThickness}"
|
||||||
CornerRadius="{DynamicResource TextBoxDefaultCornerRadius}">
|
CornerRadius="{DynamicResource TextBoxDefaultCornerRadius}">
|
||||||
<Grid ColumnDefinitions="Auto,*,Auto, Auto, Auto">
|
<Grid Margin="{TemplateBinding Padding}" ColumnDefinitions="Auto,*,Auto, Auto, Auto">
|
||||||
<ContentPresenter
|
<ContentPresenter
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
Padding="{DynamicResource TextBoxInnerLeftContentPadding}"
|
Padding="{DynamicResource TextBoxInnerLeftContentPadding}"
|
||||||
@ -95,7 +95,6 @@
|
|||||||
IsVisible="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=InnerLeftContent, Converter={x:Static ObjectConverters.IsNotNull}}" />
|
IsVisible="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=InnerLeftContent, Converter={x:Static ObjectConverters.IsNotNull}}" />
|
||||||
<ScrollViewer
|
<ScrollViewer
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
Margin="{TemplateBinding Padding}"
|
|
||||||
AllowAutoHide="{TemplateBinding (ScrollViewer.AllowAutoHide)}"
|
AllowAutoHide="{TemplateBinding (ScrollViewer.AllowAutoHide)}"
|
||||||
HorizontalScrollBarVisibility="{TemplateBinding (ScrollViewer.HorizontalScrollBarVisibility)}"
|
HorizontalScrollBarVisibility="{TemplateBinding (ScrollViewer.HorizontalScrollBarVisibility)}"
|
||||||
IsScrollChainingEnabled="{TemplateBinding (ScrollViewer.IsScrollChainingEnabled)}"
|
IsScrollChainingEnabled="{TemplateBinding (ScrollViewer.IsScrollChainingEnabled)}"
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
<SolidColorBrush x:Key="MenuFlyoutBackground" Color="White" />
|
<SolidColorBrush x:Key="MenuFlyoutBackground" Color="White" />
|
||||||
<SolidColorBrush x:Key="MenuFlyoutBorderBrush" Opacity="0.08" Color="#1C1F23" />
|
<SolidColorBrush x:Key="MenuFlyoutBorderBrush" Opacity="0.08" Color="#1C1F23" />
|
||||||
<Thickness x:Key="MenuFlyoutBorderThickness">1</Thickness>
|
<Thickness x:Key="MenuFlyoutBorderThickness">1</Thickness>
|
||||||
<Thickness x:Key="MenuFlyoutPadding">8</Thickness>
|
<Thickness x:Key="MenuFlyoutPadding">0 4</Thickness>
|
||||||
<BoxShadows x:Key="MenuFlyoutBorderBoxShadow">0 0 8 0 #1A000000</BoxShadows>
|
<BoxShadows x:Key="MenuFlyoutBorderBoxShadow">0 0 8 0 #1A000000</BoxShadows>
|
||||||
<CornerRadius x:Key="MenuFlyoutCornerRadius">3</CornerRadius>
|
<CornerRadius x:Key="MenuFlyoutCornerRadius">3</CornerRadius>
|
||||||
<sys:Double x:Key="MenuFlyoutMinHeight">16</sys:Double>
|
<sys:Double x:Key="MenuFlyoutMinHeight">16</sys:Double>
|
||||||
@ -24,7 +24,7 @@
|
|||||||
<!-- MenuItem -->
|
<!-- MenuItem -->
|
||||||
<SolidColorBrush x:Key="MenuItemBackground" Color="White" />
|
<SolidColorBrush x:Key="MenuItemBackground" Color="White" />
|
||||||
<SolidColorBrush x:Key="MenuItemForeground" Color="#1C1F23" />
|
<SolidColorBrush x:Key="MenuItemForeground" Color="#1C1F23" />
|
||||||
<Thickness x:Key="MenuItemPadding">8 4</Thickness>
|
<Thickness x:Key="MenuItemPadding">16 8</Thickness>
|
||||||
|
|
||||||
<SolidColorBrush x:Key="MenuItemSeparatorBackground" Opacity="0.08" Color="#1C1F23" />
|
<SolidColorBrush x:Key="MenuItemSeparatorBackground" Opacity="0.08" Color="#1C1F23" />
|
||||||
<sys:Double x:Key="MenuItemSeparatorHeight">1</sys:Double>
|
<sys:Double x:Key="MenuItemSeparatorHeight">1</sys:Double>
|
||||||
|
@ -38,8 +38,8 @@
|
|||||||
<CornerRadius x:Key="TextBoxPrefixContentCornerRadius">0 3 3 0</CornerRadius>
|
<CornerRadius x:Key="TextBoxPrefixContentCornerRadius">0 3 3 0</CornerRadius>
|
||||||
<CornerRadius x:Key="TextBoxBothContentCornerRadius">0 0 0 0</CornerRadius>
|
<CornerRadius x:Key="TextBoxBothContentCornerRadius">0 0 0 0</CornerRadius>
|
||||||
|
|
||||||
<Thickness x:Key="TextBoxInnerLeftContentPadding">8 0 0 0</Thickness>
|
<Thickness x:Key="TextBoxInnerLeftContentPadding">0 0 8 0</Thickness>
|
||||||
<Thickness x:Key="TextBoxInnerRightContentPadding">0 0 8 0</Thickness>
|
<Thickness x:Key="TextBoxInnerRightContentPadding">8 0 0 0</Thickness>
|
||||||
<Thickness x:Key="TextBoxContentPadding">8 0</Thickness>
|
<Thickness x:Key="TextBoxContentPadding">8 0</Thickness>
|
||||||
<Thickness x:Key="TextBoxBorderThickness">1</Thickness>
|
<Thickness x:Key="TextBoxBorderThickness">1</Thickness>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user