[Settings]TabStop in General page only if element is opened (#14480)
This commit is contained in:
parent
c7381cf1d5
commit
84d361e8a9
|
@ -61,14 +61,14 @@
|
||||||
<muxc:InfoBar x:Uid="General_UpToDate"
|
<muxc:InfoBar x:Uid="General_UpToDate"
|
||||||
IsClosable="False"
|
IsClosable="False"
|
||||||
Severity="Success"
|
Severity="Success"
|
||||||
IsTabStop="True"
|
IsTabStop="{Binding IsNewVersionCheckedAndUpToDate, Mode=OneWay}"
|
||||||
IsOpen="{Binding IsNewVersionCheckedAndUpToDate, Mode=OneWay}"/>
|
IsOpen="{Binding IsNewVersionCheckedAndUpToDate, Mode=OneWay}"/>
|
||||||
|
|
||||||
<!-- New version available -->
|
<!-- New version available -->
|
||||||
<muxc:InfoBar x:Uid="General_NewVersionAvailable"
|
<muxc:InfoBar x:Uid="General_NewVersionAvailable"
|
||||||
IsClosable="False"
|
IsClosable="False"
|
||||||
Severity="Informational"
|
Severity="Informational"
|
||||||
IsTabStop="True"
|
IsTabStop="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToDownload}"
|
||||||
IsOpen="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToDownload}"
|
IsOpen="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToDownload}"
|
||||||
Message="{Binding PowerToysNewAvailableVersion, Mode=OneWay}">
|
Message="{Binding PowerToysNewAvailableVersion, Mode=OneWay}">
|
||||||
<muxc:InfoBar.Content>
|
<muxc:InfoBar.Content>
|
||||||
|
@ -104,7 +104,7 @@
|
||||||
<muxc:InfoBar x:Uid="General_NewVersionReadyToInstall"
|
<muxc:InfoBar x:Uid="General_NewVersionReadyToInstall"
|
||||||
IsClosable="False"
|
IsClosable="False"
|
||||||
Severity="Success"
|
Severity="Success"
|
||||||
IsTabStop="True"
|
IsTabStop="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToInstall}"
|
||||||
IsOpen="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToInstall}"
|
IsOpen="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToInstall}"
|
||||||
Message="{Binding PowerToysNewAvailableVersion}">
|
Message="{Binding PowerToysNewAvailableVersion}">
|
||||||
<muxc:InfoBar.Content>
|
<muxc:InfoBar.Content>
|
||||||
|
@ -129,7 +129,7 @@
|
||||||
<muxc:InfoBar x:Uid="General_FailedToDownloadTheNewVersion"
|
<muxc:InfoBar x:Uid="General_FailedToDownloadTheNewVersion"
|
||||||
IsClosable="False"
|
IsClosable="False"
|
||||||
Severity="Error"
|
Severity="Error"
|
||||||
IsTabStop="True"
|
IsTabStop="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ErrorDownloading}"
|
||||||
IsOpen="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ErrorDownloading}"
|
IsOpen="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ErrorDownloading}"
|
||||||
Message="{Binding PowerToysNewAvailableVersion}">
|
Message="{Binding PowerToysNewAvailableVersion}">
|
||||||
<muxc:InfoBar.Content>
|
<muxc:InfoBar.Content>
|
||||||
|
@ -196,7 +196,7 @@
|
||||||
</controls:Setting>
|
</controls:Setting>
|
||||||
<muxc:InfoBar x:Uid="General_RunAsAdminRequired"
|
<muxc:InfoBar x:Uid="General_RunAsAdminRequired"
|
||||||
Severity="Warning"
|
Severity="Warning"
|
||||||
IsTabStop="True"
|
IsTabStop="{Binding Mode=OneWay, Path=IsElevated, Converter={StaticResource NegationConverter}}"
|
||||||
IsClosable="False"
|
IsClosable="False"
|
||||||
IsOpen="{Binding Mode=OneWay, Path=IsElevated, Converter={StaticResource NegationConverter}}"/>
|
IsOpen="{Binding Mode=OneWay, Path=IsElevated, Converter={StaticResource NegationConverter}}"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
Loading…
Reference in a new issue