Skip to content

Commit

Permalink
💄 去除StringNotEmptyToVisibilityConverter
Browse files Browse the repository at this point in the history
  • Loading branch information
luojunyuan committed Nov 22, 2024
1 parent c9118b5 commit b3cca8c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,12 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:spp="https://steampp.net/ui"
xmlns:ui="using:FluentAvalonia.UI.Controls"
xmlns:local="using:BD.WTTS.UI"
d:DesignHeight="450"
d:DesignWidth="800"
x:CompileBindings="True"
x:DataType="spp:AcceleratorPageViewModel"
mc:Ignorable="d">

<UserControl.Resources>
<local:StringNotEmptyToVisibilityConverter x:Key="StringNotEmptyToVisibilityConverter" />
</UserControl.Resources>

<ScrollViewer
Padding="0,0,10,0"
HorizontalScrollBarVisibility="Disabled"
Expand Down Expand Up @@ -92,7 +87,7 @@
Glyph="&#xE946;"
ToolTip.ShowDelay="0"
ToolTip.Tip="此数值代表测试网页打开访问所需时间,请以实际浏览器访问网页状况为准"
IsVisible="{Binding Text, ElementName=DelayValue, Converter={StaticResource StringNotEmptyToVisibilityConverter}}">
IsVisible="{Binding Text, ElementName=DelayValue, Converter={x:Static StringConverters.IsNotNullOrEmpty}}">
</ui:FontIcon>
</StackPanel>
</DockPanel>
Expand Down

0 comments on commit b3cca8c

Please sign in to comment.