WPF 使用INotifyDataErrorInfo小例子


        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:local="clr-namespace:ErrorsTest"
        mc:Ignorable="d"
        Title="MainWindow" Height="268.884" Width="411.588">    
           
       
   

   
                         HorizontalAlignment="Left" Height="23" Margin="97,92,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" >
       

       

你可能感兴趣的:(C#)