mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
[Settings] Removed muxc prefix (#20164)
* Removed prefix Quick deletion. Quick run in VS gave no problems. * Removed prefix Quick deletion. Quick run in VS gave no problems. * update for new files * Remove using muxc includes
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
xmlns:local="using:PowerRenameUI"
|
||||
xmlns:contract7Present="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract,7)"
|
||||
xmlns:contract7NotPresent="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractNotPresent(Windows.Foundation.UniversalApiContract,7)"
|
||||
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
|
||||
xmlns:contract6Present="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract,6)"
|
||||
xmlns:animatedVisuals="using:Microsoft.UI.Xaml.Controls.AnimatedVisuals"
|
||||
xmlns:primitives="using:Microsoft.UI.Xaml.Controls.Primitives">
|
||||
@@ -304,7 +303,7 @@
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="SplitAccentButtonStyle" TargetType="muxc:SplitButton">
|
||||
<Style x:Key="SplitAccentButtonStyle" TargetType="SplitButton">
|
||||
<Setter Property="Background" Value="{ThemeResource AccentButtonBackground}" />
|
||||
<Setter Property="Foreground" Value="{ThemeResource AccentButtonForeground}" />
|
||||
<Setter Property="BorderBrush" Value="{ThemeResource AccentButtonBorderBrush}" />
|
||||
@@ -321,7 +320,7 @@
|
||||
<!--<contract7Present:Setter Property="CornerRadius" Value="{ThemeResource ControlCornerRadius}" />-->
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="muxc:SplitButton">
|
||||
<ControlTemplate TargetType="SplitButton">
|
||||
<Grid
|
||||
x:Name="RootGrid"
|
||||
Background="Transparent"
|
||||
@@ -351,12 +350,12 @@
|
||||
<VisualState x:Name="Normal"/>
|
||||
<VisualState x:Name="PointerOver">
|
||||
<VisualState.Setters>
|
||||
<Setter Target="ContentPresenter.(muxc:AnimatedIcon.State)" Value="PointerOver"/>
|
||||
<Setter Target="ContentPresenter.(AnimatedIcon.State)" Value="PointerOver"/>
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
<VisualState x:Name="Pressed">
|
||||
<VisualState.Setters>
|
||||
<Setter Target="ContentPresenter.(muxc:AnimatedIcon.State)" Value="Pressed"/>
|
||||
<Setter Target="ContentPresenter.(AnimatedIcon.State)" Value="Pressed"/>
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
<VisualState x:Name="Disabled">
|
||||
@@ -380,7 +379,7 @@
|
||||
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
|
||||
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
|
||||
AutomationProperties.AccessibilityView="Raw"
|
||||
muxc:AnimatedIcon.State="Normal"/>
|
||||
AnimatedIcon.State="Normal"/>
|
||||
</Grid>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
@@ -597,15 +596,15 @@
|
||||
IsTabStop="False"
|
||||
AutomationProperties.AccessibilityView="Raw">
|
||||
<Button.Content>
|
||||
<muxc:AnimatedIcon Height="12" Width="12" VerticalAlignment="Center" HorizontalAlignment="Right" AutomationProperties.AccessibilityView="Raw">
|
||||
<AnimatedIcon Height="12" Width="12" VerticalAlignment="Center" HorizontalAlignment="Right" AutomationProperties.AccessibilityView="Raw">
|
||||
<animatedVisuals:AnimatedChevronDownSmallVisualSource/>
|
||||
<muxc:AnimatedIcon.FallbackIconSource>
|
||||
<muxc:FontIconSource FontFamily="{ThemeResource SymbolThemeFontFamily}"
|
||||
<AnimatedIcon.FallbackIconSource>
|
||||
<FontIconSource FontFamily="{ThemeResource SymbolThemeFontFamily}"
|
||||
FontSize="8"
|
||||
Glyph=""
|
||||
IsTextScaleFactorEnabled="False"/>
|
||||
</muxc:AnimatedIcon.FallbackIconSource>
|
||||
</muxc:AnimatedIcon>
|
||||
</AnimatedIcon.FallbackIconSource>
|
||||
</AnimatedIcon>
|
||||
</Button.Content>
|
||||
</Button>
|
||||
</Grid>
|
||||
@@ -724,7 +723,7 @@
|
||||
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
|
||||
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
|
||||
AutomationProperties.AccessibilityView="Raw"
|
||||
muxc:AnimatedIcon.State="Normal">
|
||||
AnimatedIcon.State="Normal">
|
||||
<VisualStateManager.VisualStateGroups>
|
||||
<VisualStateGroup x:Name="CommonStates">
|
||||
<VisualState x:Name="Normal" />
|
||||
@@ -742,7 +741,7 @@
|
||||
</ObjectAnimationUsingKeyFrames>
|
||||
</Storyboard>
|
||||
<VisualState.Setters>
|
||||
<Setter Target="ContentPresenter.(muxc:AnimatedIcon.State)" Value="PointerOver"/>
|
||||
<Setter Target="ContentPresenter.(AnimatedIcon.State)" Value="PointerOver"/>
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
|
||||
@@ -759,7 +758,7 @@
|
||||
</ObjectAnimationUsingKeyFrames>
|
||||
</Storyboard>
|
||||
<VisualState.Setters>
|
||||
<Setter Target="ContentPresenter.(muxc:AnimatedIcon.State)" Value="Pressed"/>
|
||||
<Setter Target="ContentPresenter.(AnimatedIcon.State)" Value="Pressed"/>
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="using:PowerRenameUI"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
|
||||
mc:Ignorable="d">
|
||||
|
||||
<Grid Padding="12" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
||||
@@ -534,7 +533,7 @@
|
||||
|
||||
|
||||
|
||||
<muxc:SplitButton
|
||||
<SplitButton
|
||||
x:Name="button_rename"
|
||||
x:Uid="ButtonApply"
|
||||
Grid.Row="2"
|
||||
@@ -544,11 +543,11 @@
|
||||
VerticalAlignment="Bottom"
|
||||
Click="button_rename_Click"
|
||||
Style="{StaticResource SplitAccentButtonStyle}">
|
||||
<muxc:SplitButton.KeyboardAccelerators>
|
||||
<SplitButton.KeyboardAccelerators>
|
||||
<KeyboardAccelerator Key="Enter" />
|
||||
<KeyboardAccelerator Key="Enter" Modifiers="Control" />
|
||||
</muxc:SplitButton.KeyboardAccelerators>
|
||||
<muxc:SplitButton.Content>
|
||||
</SplitButton.KeyboardAccelerators>
|
||||
<SplitButton.Content>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<FontIcon
|
||||
Margin="0,2,10,0"
|
||||
@@ -557,13 +556,13 @@
|
||||
Glyph="" />
|
||||
<TextBlock x:Uid="TxtBlock_ButtonApply" />
|
||||
</StackPanel>
|
||||
</muxc:SplitButton.Content>
|
||||
<muxc:SplitButton.Flyout>
|
||||
</SplitButton.Content>
|
||||
<SplitButton.Flyout>
|
||||
<MenuFlyout>
|
||||
<MenuFlyoutItem x:Uid="TxtBlock_ButtonApplyAndClose" Click="MenuFlyoutItem_Click" />
|
||||
</MenuFlyout>
|
||||
</muxc:SplitButton.Flyout>
|
||||
</muxc:SplitButton>
|
||||
</SplitButton.Flyout>
|
||||
</SplitButton>
|
||||
|
||||
<!--<StackPanel x:Name="TitleBar" Orientation="Horizontal">
|
||||
<Image Source="Assets/PowerRename.png" Width="16" Height="16" VerticalAlignment="Top" Margin="20,9,0,0"/>
|
||||
|
||||
Reference in New Issue
Block a user