Skip to content

Commit

Permalink
[Mouse Jump] - fixing xaml formatting - microsoft#25482
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeclayton committed Jul 29, 2024
1 parent 11098cc commit cacff25
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,28 +129,26 @@
<Image Source="{x:Bind Path=ViewModel.MouseJumpPreviewImage, Mode=OneWay}" />
<StackPanel>
<tkcontrols:SettingsCard x:Uid="MouseUtils_MouseJump_PreviewType">
<StackPanel Orientation="Horizontal" >
<StackPanel Orientation="Horizontal">
<tkcontrols:Segmented
x:Name="PreviewTypeSetting"
SelectedIndex="{x:Bind ViewModel.MouseJumpPreviewType, Mode=TwoWay, Converter={StaticResource MouseJumpPreviewTypeConverter}}"
SelectionMode="Single"
SelectionChanged="PreviewTypeSetting_SelectionChanged"
SelectionMode="Single"
Style="{StaticResource ButtonSegmentedStyle}">
<tkcontrols:SegmentedItem>Compact</tkcontrols:SegmentedItem>
<tkcontrols:SegmentedItem>Bezelled</tkcontrols:SegmentedItem>
<tkcontrols:SegmentedItem>Custom</tkcontrols:SegmentedItem>
</tkcontrols:Segmented>
<Button
x:Name="CopyStyleToCustom"
IsEnabled="{Binding SelectedIndex, ElementName=MouseUtils_MouseJump_PreviewType}"
Content="Copy to Custom preview style"
Margin="20,0,0,0"
Click="CopyStyleToCustom_Click"
/>
Content="Copy to Custom preview style"
IsEnabled="{Binding SelectedIndex, ElementName=MouseUtils_MouseJump_PreviewType}" />
</StackPanel>
</tkcontrols:SettingsCard>
<StackPanel
x:Name="CustomStyleSettings">
<StackPanel x:Name="CustomStyleSettings">
<tkcontrols:SettingsCard x:Uid="MouseUtils_MouseJump_BackgroundColor1">
<controls:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.MouseJumpBackgroundColor1, Mode=TwoWay}" />
</tkcontrols:SettingsCard>
Expand Down

0 comments on commit cacff25

Please sign in to comment.