-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] MinMaxValueToBoolConverter Error #49
Comments
Can you please use the bug report template (as far as possible) to describe what's going wrong? |
DescriptionIntput Value > MaxValue ,But Return True; Steps to ReproduceUse MinMaxValueToBoolConverter Or IsInRangeConverter <Window x:Class="WpfApp1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vc="clr-namespace:ValueConverters;assembly=ValueConverters"
xmlns:local="clr-namespace:WpfApp1"
mc:Ignorable="d"
Title="MainWindow" Height="100" Width="200">
<Window.Resources>
<vc:MinMaxValueToBoolConverter x:Key="MinMaxValueToBoolConverter" MinValue="10" MaxValue="30" />
</Window.Resources>
<StackPanel>
<TextBox x:Name="txt1" Text="2999"/>
<Label Content="{Binding ElementName=txt1, Path=Text, Converter={StaticResource MinMaxValueToBoolConverter}}"/>
</StackPanel>
</Window> Expected BehaviorReturn False Actual BehaviorReturn True |
This code come from AI. `
} |
The text was updated successfully, but these errors were encountered: