Merge pull request #2 from HandyOrg/master

更换了转换器的名字
This commit is contained in:
眾尋 2019-04-17 21:12:11 +08:00 committed by GitHub
commit 62d8f425af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -209,7 +209,7 @@
<Compile Include="$(MSBuildThisFileDirectory)Tools\Converter\Color2HexStrConverter.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Tools\Converter\Int2StrConverter.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Tools\Converter\Long2FileSizeConverter.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Tools\Converter\Null2VisibilityConverter.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Tools\Converter\Object2VisibilityConverter.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Tools\Converter\Object2BooleanConverter.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Tools\Converter\String2VisibilityConverter.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Tools\Converter\String2VisibilityReConverter.cs" />

View File

@ -16,6 +16,6 @@
<converter:Int2StrConverter x:Key="Int2StrConverter"/>
<converter:BorderClipConverter x:Key="BorderClipConverter"/>
<converter:BorderCircularConverter x:Key="BorderCircularConverter"/>
<converter:Null2VisibilityConverter x:Key="Null2VisibilityConverter"/>
<converter:Object2VisibilityConverter x:Key="Object2VisibilityConverter"/>
</ResourceDictionary>

View File

@ -5,7 +5,7 @@ using System.Windows.Data;
namespace HandyControl.Tools.Converter
{
public class Null2VisibilityConverter : IValueConverter
public class Object2VisibilityConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{