Remove all ReflectionBindings

This commit is contained in:
Isaac Marovitz 2023-09-18 18:04:39 -04:00 committed by Isaac Marovitz
parent a0687b630c
commit c7f52388c9
3 changed files with 11 additions and 12 deletions

View file

@ -15,8 +15,7 @@
<MenuItem Header="Test 2" />
<MenuItem Header="Test 3">
<MenuItem.Icon>
<CheckBox Margin="0"
IsChecked="{ReflectionBinding Checkbox, Mode=TwoWay}" />
<CheckBox Margin="0" />
</MenuItem.Icon>
</MenuItem>
</MenuItem>

View file

@ -454,7 +454,7 @@
<Button
Margin="10"
Grid.Column="1"
Command="{ReflectionBinding ShowMotionConfig}">
Command="{Binding ShowMotionConfig}">
<TextBlock Text="{locale:Locale ControllerSettingsConfigureGeneral}" />
</Button>
</Grid>
@ -480,7 +480,7 @@
<Button
Margin="10"
Grid.Column="1"
Command="{ReflectionBinding ShowRumbleConfig}">
Command="{Binding ShowRumbleConfig}">
<TextBlock Text="{locale:Locale ControllerSettingsConfigureGeneral}" />
</Button>
</Grid>

View file

@ -106,7 +106,7 @@
Margin="5,0,0,0"
VerticalAlignment="Center"
ToolTip.Tip="{locale:Locale ControllerSettingsLoadProfileToolTip}"
Command="{ReflectionBinding LoadProfile}">
Command="{Binding LoadProfile}">
<ui:SymbolIcon
Symbol="Upload"
FontSize="15"
@ -118,7 +118,7 @@
Margin="5,0,0,0"
VerticalAlignment="Center"
ToolTip.Tip="{locale:Locale ControllerSettingsSaveProfileToolTip}"
Command="{ReflectionBinding SaveProfile}">
Command="{Binding SaveProfile}">
<ui:SymbolIcon
Symbol="Save"
FontSize="15"
@ -130,7 +130,7 @@
Margin="5,0,0,0"
VerticalAlignment="Center"
ToolTip.Tip="{locale:Locale ControllerSettingsRemoveProfileToolTip}"
Command="{ReflectionBinding RemoveProfile}">
Command="{Binding RemoveProfile}">
<ui:SymbolIcon
Symbol="Delete"
FontSize="15"
@ -174,7 +174,7 @@
MinWidth="0"
Margin="5,0,0,0"
VerticalAlignment="Center"
Command="{ReflectionBinding LoadDevices}">
Command="{Binding LoadDevices}">
<ui:SymbolIcon
Symbol="Refresh"
FontSize="15"
@ -200,8 +200,8 @@
<ComboBox
Grid.Column="1"
HorizontalAlignment="Stretch"
ItemsSource="{ReflectionBinding Controllers}"
SelectedIndex="{ReflectionBinding Controller}">
ItemsSource="{Binding Controllers}"
SelectedIndex="{Binding Controller}">
<ComboBox.ItemTemplate>
<DataTemplate DataType="models:ControllerModel">
<TextBlock Text="{Binding Name}" />