Skip to content

Commit 7997712

Browse files
committed
fix xaml
1 parent b348abe commit 7997712

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

src/modules/Workspaces/WorkspacesEditor/MainPage.xaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Page
1+
<Page
22
x:Class="WorkspacesEditor.MainPage"
33
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -172,7 +172,7 @@
172172
VerticalContentAlignment="Stretch"
173173
VerticalScrollBarVisibility="Auto"
174174
Visibility="{Binding IsWorkspacesViewEmpty, Mode=OneWay, Converter={StaticResource BooleanToInvertedVisibilityConverter}, UpdateSourceTrigger=PropertyChanged}">
175-
<ItemsControl ItemsSource="{Binding WorkspacesView, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}" x:Name="WorkspacesItemsControl">
175+
<ItemsControl x:Name="WorkspacesItemsControl" ItemsSource="{Binding WorkspacesView, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}">
176176
<ItemsControl.ItemsPanel>
177177
<ItemsPanelTemplate>
178178
<StackPanel
@@ -235,7 +235,10 @@
235235
Grid.Column="1"
236236
Margin="12,12,12,12"
237237
Orientation="Vertical">
238-
<StackPanel HorizontalAlignment="Right" Orientation="Horizontal" x:Name="WorkspaceActionGroup">
238+
<StackPanel
239+
x:Name="WorkspaceActionGroup"
240+
HorizontalAlignment="Right"
241+
Orientation="Horizontal">
239242
<Button
240243
x:Name="MoreButton"
241244
HorizontalAlignment="Right"
@@ -248,8 +251,8 @@
248251
</Button>
249252
<Popup
250253
AllowsTransparency="True"
251-
IsOpen="{Binding IsPopupVisible, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
252254
Closed="PopupClosed"
255+
IsOpen="{Binding IsPopupVisible, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
253256
Placement="Left"
254257
PlacementTarget="{Binding ElementName=MoreButton}"
255258
StaysOpen="False">

src/modules/Workspaces/WorkspacesEditor/WorkspacesEditorPage.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@
5050
MouseEnter="AppBorder_MouseEnter"
5151
MouseLeave="AppBorder_MouseLeave">
5252
<Expander
53-
AutomationProperties.Name="{Binding AppName}"
54-
AutomationProperties.AutomationId="{Binding AppName}"
5553
Margin="0,0,20,0"
54+
AutomationProperties.AutomationId="{Binding AppName}"
55+
AutomationProperties.Name="{Binding AppName}"
5656
FlowDirection="RightToLeft"
5757
IsEnabled="{Binding IsIncluded, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}"
5858
IsExpanded="{Binding IsExpanded, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">

0 commit comments

Comments
 (0)