File tree Expand file tree Collapse file tree 1 file changed +11
-13
lines changed
src/modules/EnvironmentVariables/EnvironmentVariables/EnvironmentVariablesXAML/Views Expand file tree Collapse file tree 1 file changed +11
-13
lines changed Original file line number Diff line number Diff line change 465465 TextChanged =" EditVariableDialogValueTxtBox_TextChanged"
466466 TextWrapping =" Wrap" />
467467 <MenuFlyoutSeparator Visibility =" {Binding ShowAsList, Converter={StaticResource BoolToVisibilityConverter}}" />
468- <ListView
468+ <ItemsControl
469469 x : Name =" EditVariableValuesList"
470- Margin =" -16 ,-8,0,12"
470+ Margin =" 0 ,-8,0,12"
471471 HorizontalAlignment =" Stretch"
472472 ItemsSource =" {Binding ValuesList, Mode=TwoWay}"
473- SelectionMode =" None"
474473 Visibility =" {Binding ShowAsList, Converter={StaticResource BoolToVisibilityConverter}}" >
475- <ListView .ItemTemplate>
474+ <ItemsControl .ItemTemplate>
476475 <DataTemplate >
477476 <Grid >
478477 <Grid .ColumnDefinitions>
523522 </Button >
524523 </Grid >
525524 </DataTemplate >
526- </ListView .ItemTemplate>
527- </ListView >
525+ </ItemsControl .ItemTemplate>
526+ </ItemsControl >
528527 </StackPanel >
529528 </ScrollViewer >
530529 </ContentDialog >
583582 HorizontalAlignment =" Right"
584583 Visibility =" Collapsed" />
585584
586- <ListView
585+ <ItemsControl
587586 x : Name =" NewProfileVariablesListView"
588587 Grid.Row=" 1"
589588 Grid.ColumnSpan=" 2"
590- Margin =" -16 ,-8,0,12"
589+ Margin =" 0 ,-8,0,12"
591590 HorizontalAlignment =" Stretch"
592- ItemsSource =" {Binding Variables, Mode=TwoWay}"
593- SelectionMode =" None" >
594- <ListView .ItemTemplate>
591+ ItemsSource =" {Binding Variables, Mode=TwoWay}" >
592+ <ItemsControl .ItemTemplate>
595593 <DataTemplate x : DataType =" models:Variable" >
596594 <Grid Height =" 48" ColumnSpacing =" 8" >
597595 <Grid .ColumnDefinitions>
617615 Visibility =" Collapsed" />
618616 </Grid >
619617 </DataTemplate >
620- </ListView .ItemTemplate>
621- </ListView >
618+ </ItemsControl .ItemTemplate>
619+ </ItemsControl >
622620
623621 </Grid >
624622
You can’t perform that action at this time.
0 commit comments