@@ -547,7 +547,7 @@ $Xaml = @'
547547 <StackPanel Orientation="Horizontal" Margin="0,25,0,0">
548548 <TextBlock FontSize="24" FontFamily="Segoe UI Light" Foreground="#EBEBEB" Text="Microsoft Azure Stack" />
549549 <TextBlock FontSize="11.5" FontFamily="Segoe UI Light" Foreground="#EBEBEB" Margin="210,3,0,0" Text="Installer UI version: " />
550- <TextBlock x:Name="Control_Header_Tbl_Version" FontSize="11.5" FontFamily="Segoe UI Light" Foreground="#FF74ACDB " Margin="0,3,0,0" />
550+ <TextBlock x:Name="Control_Header_Tbl_Version" FontSize="11.5" FontFamily="Segoe UI Light" Foreground="#879AAB " Margin="0,3,0,0" />
551551 </StackPanel>
552552 <TextBlock FontSize="44" FontFamily="Segoe UI Light" Foreground="#EBEBEB" Text="Development Kit" />
553553 <TextBlock x:Name="Control_Header_Tbl_Title" FontSize="20" FontFamily="Segoe UI" Foreground="#EBEBEB" Margin="0,50,0,30" Text="Title" Focusable="True" />
@@ -567,7 +567,7 @@ $Xaml = @'
567567 </StackPanel>
568568 </Button>
569569 </StackPanel>
570- <TextBlock FontSize="11.5" FontFamily="Segoe UI Light" Foreground="#EBEBEB" Padding="0,40,0,0" TextWrapping="Wrap" ><Run Text="The installer UI for the Azure Stack Development Kit is an open sourced script based on WPF and PowerShell. Additions to the toolkit can be submitted as Pull Request to the "/><Run Foreground="#FF74ACDB " Text="AzureStack-Tools repository"/><Run Text="."/></TextBlock>
570+ <TextBlock FontSize="11.5" FontFamily="Segoe UI Light" Foreground="#EBEBEB" Padding="0,40,0,0" TextWrapping="Wrap" ><Run Text="The installer UI for the Azure Stack Development Kit is an open sourced script based on WPF and PowerShell. Additions to the toolkit can be submitted as Pull Request to the "/><Run Foreground="#879AAB " Text="AzureStack-Tools repository"/><Run Text="."/></TextBlock>
571571 </StackPanel>
572572 <!--#endregion Mode-->
573573 <!--#region Prepare-->
@@ -680,6 +680,66 @@ $Xaml = @'
680680 <GridViewColumn Header="DHCP" Width="80" DisplayMemberBinding ="{Binding 'DHCP'}" />
681681 </GridView>
682682 </ListView.View>
683+ <ListView.ItemContainerStyle>
684+ <Style TargetType="{x:Type ListViewItem}">
685+ <Setter Property="SnapsToDevicePixels" Value="true"/>
686+ <Setter Property="OverridesDefaultStyle" Value="true"/>
687+ <Setter Property="AutomationProperties.Name">
688+ <Setter.Value>
689+ <MultiBinding StringFormat="{}Name:{0};Status:{1};IPv4Address:{2};Gateway:{3};DHCP:{4}">
690+ <Binding Path="Name"/>
691+ <Binding Path="ConnectionState"/>
692+ <Binding Path="Ipv4Address"/>
693+ <Binding Path="Ipv4DefaultGateway"/>
694+ <Binding Path="DHCP"/>
695+ </MultiBinding>
696+ </Setter.Value>
697+ </Setter>
698+ <Setter Property="Tag" Value="{DynamicResource {x:Static SystemParameters.HighContrastKey}}" />
699+ <Style.Triggers>
700+ <DataTrigger Binding="{Binding RelativeSource= {x:Static RelativeSource.Self}, Path=Tag}" Value="False">
701+ <Setter Property="Template">
702+ <Setter.Value>
703+ <ControlTemplate TargetType="ListViewItem">
704+ <Border Name="Border" Padding="2" SnapsToDevicePixels="true" Background="Transparent">
705+ <GridViewRowPresenter VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
706+ </Border>
707+ <ControlTemplate.Triggers>
708+ <Trigger Property="IsSelected" Value="true">
709+ <Setter TargetName="Border" Property="Background" Value="#4590CE"/>
710+ </Trigger>
711+ <Trigger Property="IsMouseOver" Value="true">
712+ <Setter TargetName="Border" Property="Background" Value="#4590CE"/>
713+ <Setter TargetName="Border" Property="Cursor" Value="Hand"/>
714+ </Trigger>
715+ </ControlTemplate.Triggers>
716+ </ControlTemplate>
717+ </Setter.Value>
718+ </Setter>
719+ </DataTrigger>
720+ <DataTrigger Binding="{Binding RelativeSource= {x:Static RelativeSource.Self}, Path=Tag}" Value="True">
721+ <Setter Property="Template">
722+ <Setter.Value>
723+ <ControlTemplate TargetType="ListViewItem">
724+ <Border Name="Border" Padding="2" SnapsToDevicePixels="true" Background="Transparent">
725+ <GridViewRowPresenter VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
726+ </Border>
727+ <ControlTemplate.Triggers>
728+ <Trigger Property="IsSelected" Value="true">
729+ <Setter TargetName="Border" Property="Background" Value="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}"/>
730+ </Trigger>
731+ <Trigger Property="IsMouseOver" Value="true">
732+ <Setter TargetName="Border" Property="Background" Value="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}"/>
733+ <Setter TargetName="Border" Property="Cursor" Value="Hand"/>
734+ </Trigger>
735+ </ControlTemplate.Triggers>
736+ </ControlTemplate>
737+ </Setter.Value>
738+ </Setter>
739+ </DataTrigger>
740+ </Style.Triggers>
741+ </Style>
742+ </ListView.ItemContainerStyle>
683743 </ListView>
684744 <StackPanel x:Name="Control_NetInterface_Stp_Wait" Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,15,0,0">
685745 <Ellipse x:Name="Control_NetInterface_Ell_Wait" Width="20" Height="20" StrokeDashArray="0,2" StrokeDashCap="Round" StrokeThickness="3.5" RenderTransformOrigin="0.5,0.5" >
0 commit comments