|
27 | 27 | <converters:BooleanToVisibilityCollapsedConverter x:Key="BooleanToVisibilityCollapsedConverter" /> |
28 | 28 | <converters:IntNotZeroToVisibilityCollapsedConverter x:Key="IntNotZeroToVisibilityCollapsedConverter" /> |
29 | 29 | <converters:IntZeroToVisibilityCollapsedConverter x:Key="IntZeroToVisibilityCollapsedConverter" /> |
30 | | - <converters:MACAddressToVendorConverter x:Key="MACAddressToVendorConverter" /> |
31 | 30 | <converters:TimeSpanToMillisecondConverter x:Key="TimeSpanToMillisecondConverter" /> |
32 | 31 | <converters:TimeSpanToStringConverter x:Key="TimeSpanToStringConverter" /> |
33 | | - <converters:WiFiAuthenticationTypeToHumanReadableStringConverter |
34 | | - x:Key="WiFiAuthenticationTypeToHumanReadableStringConverter" /> |
35 | | - <converters:WiFiChannelCenterFrequencyToChannelStringConverter |
36 | | - x:Key="WiFiChannelCenterFrequencyToChannelStringConverter" /> |
37 | 32 | <converters:WiFiChannelCenterFrequencyToFrequencyStringConverter |
38 | 33 | x:Key="WiFiChannelCenterFrequencyToFrequencyStringConverter" /> |
39 | 34 | <converters:WiFiNetworkRssiInDecibelMilliwattsToSignalStrengthStringConverter |
40 | 35 | x:Key="WiFiNetworkRssiInDecibelMilliwattsToSignalStrengthStringConverter" /> |
41 | | - <converters:WiFiPhyKindToStringConverter x:Key="WiFiPhyKindToStringConverter" /> |
42 | 36 | </UserControl.Resources> |
43 | 37 | <Grid> |
44 | 38 | <Grid> |
|
306 | 300 | Style="{StaticResource ResourceKey=CopyMenuItem}" /> |
307 | 301 | <MenuItem Header="{x:Static Member=localization:Strings.Security}" |
308 | 302 | Command="{Binding Path=CopyDataToClipboardCommand}" |
309 | | - CommandParameter="{Binding Path=SelectedNetwork.AvailableNetwork.SecuritySettings.NetworkAuthenticationType, Converter={StaticResource ResourceKey=WiFiAuthenticationTypeToHumanReadableStringConverter}}" |
| 303 | + CommandParameter="{Binding Path=SelectedNetwork.NetworkAuthenticationType}" |
310 | 304 | Style="{StaticResource ResourceKey=CopyMenuItem}" /> |
311 | 305 | <MenuItem Header="{x:Static Member=localization:Strings.Frequency}" |
312 | 306 | Command="{Binding Path=CopyDataToClipboardCommand}" |
313 | 307 | CommandParameter="{Binding Path=SelectedNetwork.ChannelCenterFrequencyInGigahertz, Converter={StaticResource ResourceKey=WiFiChannelCenterFrequencyToFrequencyStringConverter}}" |
314 | 308 | Style="{StaticResource ResourceKey=CopyMenuItem}" /> |
315 | 309 | <MenuItem Header="{x:Static Member=localization:Strings.Channel}" |
316 | 310 | Command="{Binding Path=CopyDataToClipboardCommand}" |
317 | | - CommandParameter="{Binding Path=SelectedNetwork.Channel, Converter={StaticResource ResourceKey=WiFiChannelCenterFrequencyToChannelStringConverter}}" |
| 311 | + CommandParameter="{Binding Path=SelectedNetwork.Channel}" |
318 | 312 | Style="{StaticResource ResourceKey=CopyMenuItem}" /> |
319 | 313 | <MenuItem |
320 | 314 | Header="{x:Static Member=localization:Strings.SignalStrength}" |
|
337 | 331 | Style="{StaticResource ResourceKey=CopyMenuItem}" /> |
338 | 332 | <MenuItem Header="{x:Static Member=localization:Strings.Vendor}" |
339 | 333 | Command="{Binding Path=CopyDataToClipboardCommand}" |
340 | | - CommandParameter="{Binding Path=SelectedNetwork.AvailableNetwork.Bssid, Converter={StaticResource ResourceKey=MACAddressToVendorConverter}}" |
| 334 | + CommandParameter="{Binding Path=SelectedNetwork.Vendor}" |
341 | 335 | Style="{StaticResource ResourceKey=CopyMenuItem}" /> |
342 | 336 | <MenuItem Header="{x:Static Member=localization:Strings.PhyKind}" |
343 | 337 | Command="{Binding Path=CopyDataToClipboardCommand}" |
344 | | - CommandParameter="{Binding Path=SelectedNetwork.AvailableNetwork.PhyKind, Converter={StaticResource ResourceKey=WiFiPhyKindToStringConverter}}" |
| 338 | + CommandParameter="{Binding Path=SelectedNetwork.PhyKind}" |
345 | 339 | Style="{StaticResource ResourceKey=CopyMenuItem}" /> |
346 | 340 | <MenuItem |
347 | 341 | Header="{x:Static Member=localization:Strings.NetworkKind}" |
|
569 | 563 | SortMemberPath="IsConnected" /> |
570 | 564 | <DataGridTextColumn |
571 | 565 | Header="{x:Static Member=localization:Strings.Security}" |
572 | | - Binding="{Binding Path=(network:WiFiNetworkInfo.AvailableNetwork).SecuritySettings.NetworkAuthenticationType, Converter={StaticResource ResourceKey=WiFiAuthenticationTypeToHumanReadableStringConverter}}" |
573 | | - SortMemberPath="AvailableNetwork.SecuritySettings.NetworkAuthenticationType" /> |
| 566 | + Binding="{Binding Path=(network:WiFiNetworkInfo.NetworkAuthenticationType)}" |
| 567 | + SortMemberPath="NetworkAuthenticationType" /> |
574 | 568 | <DataGridTextColumn |
575 | 569 | Header="{x:Static Member=localization:Strings.Frequency}" |
576 | 570 | Binding="{Binding Path=(network:WiFiNetworkInfo.ChannelCenterFrequencyInGigahertz), Converter={StaticResource ResourceKey=WiFiChannelCenterFrequencyToFrequencyStringConverter}}" |
577 | | - SortMemberPath="AvailableNetwork.ChannelCenterFrequencyInKilohertz" /> |
| 571 | + SortMemberPath="ChannelCenterFrequencyInGigahertz" /> |
578 | 572 | <DataGridTextColumn Header="{x:Static Member=localization:Strings.Channel}" |
579 | | - Binding="{Binding Path=(network:WiFiNetworkInfo.Channel), Converter={StaticResource ResourceKey=WiFiChannelCenterFrequencyToChannelStringConverter}}" |
580 | | - SortMemberPath="AvailableNetwork.ChannelCenterFrequencyInKilohertz" /> |
| 573 | + Binding="{Binding Path=(network:WiFiNetworkInfo.Channel)}" |
| 574 | + SortMemberPath="Channel" /> |
581 | 575 | <DataGridTextColumn |
582 | 576 | Header="{x:Static Member=localization:Strings.SignalStrength}" |
583 | 577 | Binding="{Binding Path=(network:WiFiNetworkInfo.AvailableNetwork).NetworkRssiInDecibelMilliwatts, Converter={StaticResource ResourceKey=WiFiNetworkRssiInDecibelMilliwattsToSignalStrengthStringConverter}}" |
|
594 | 588 | Binding="{Binding Path=(network:WiFiNetworkInfo.AvailableNetwork).Bssid}" |
595 | 589 | SortMemberPath="AvailableNetwork.Bssid" /> |
596 | 590 | <DataGridTextColumn Header="{x:Static Member=localization:Strings.Vendor}" |
597 | | - Binding="{Binding Path=(network:WiFiNetworkInfo.AvailableNetwork).Bssid, Converter={StaticResource ResourceKey=MACAddressToVendorConverter}}" |
598 | | - SortMemberPath="AvailableNetwork.Bssid" /> |
| 591 | + Binding="{Binding Path=(network:WiFiNetworkInfo.Vendor)}" |
| 592 | + SortMemberPath="Vendor" /> |
599 | 593 | <DataGridTextColumn Header="{x:Static Member=localization:Strings.PhyKind}" |
600 | | - Binding="{Binding Path=(network:WiFiNetworkInfo.AvailableNetwork).PhyKind, Converter={StaticResource ResourceKey=WiFiPhyKindToStringConverter}}" |
601 | | - SortMemberPath="AvailableNetwork.PhyKind" /> |
| 594 | + Binding="{Binding Path=(network:WiFiNetworkInfo.PhyKind)}" |
| 595 | + SortMemberPath="PhyKind" /> |
602 | 596 | <DataGridTextColumn |
603 | 597 | Header="{x:Static Member=localization:Strings.NetworkKind}" |
604 | 598 | Binding="{Binding Path=(network:WiFiNetworkInfo.AvailableNetwork).NetworkKind}" |
|
0 commit comments