Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions MahApps.Metro/Themes/Flyout.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
Height="40"
VerticalAlignment="Bottom"
Style="{DynamicResource MetroCircleButtonStyle}"
AutomationProperties.AutomationId="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Name, StringFormat='nav{0}' , Mode=OneWay }"
Foreground="{Binding RelativeSource={RelativeSource AncestorType={x:Type Controls:Flyout}}, Path=Foreground}"
FontFamily="Segoe UI Symbol"
FontSize="16"
Expand Down
3 changes: 3 additions & 0 deletions MahApps.Metro/Themes/NumericUpDown.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
BorderThickness="0"
FontFamily="{TemplateBinding FontFamily}"
FontSize="{TemplateBinding FontSize}"
AutomationProperties.AutomationId="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Name, StringFormat='PART_TextBox{0}' , Mode=OneWay }"
Controls:ControlsHelper.DisabledVisualElementVisibility="Collapsed"
Controls:ControlsHelper.ButtonWidth="{TemplateBinding Controls:ControlsHelper.ButtonWidth}"
Controls:TextBoxHelper.ButtonContent="{TemplateBinding Controls:TextBoxHelper.ButtonContent}"
Expand All @@ -95,6 +96,7 @@
Width="{TemplateBinding UpDownButtonsWidth}"
Margin="0 2 0 2"
Style="{DynamicResource ChromelessButtonStyle}"
AutomationProperties.AutomationId="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Name, StringFormat='PART_NumericUp{0}' , Mode=OneWay }"
Foreground="{TemplateBinding Foreground}"
Delay="{TemplateBinding Delay}"
IsTabStop="False">
Expand All @@ -110,6 +112,7 @@
Grid.Column="2"
Width="{TemplateBinding UpDownButtonsWidth}"
Margin="0 2 2 2"
AutomationProperties.AutomationId="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Name, StringFormat='PART_NumericDown{0}' , Mode=OneWay }"
VerticalContentAlignment="Center"
Style="{DynamicResource ChromelessButtonStyle}"
Foreground="{TemplateBinding Foreground}"
Expand Down