4 using System.Globalization;
6 using SiliconStudio.Core.IO;
8 namespace SiliconStudio.Presentation.ValueConverters
16 public override object Convert(
object value, Type targetType,
object parameter, CultureInfo culture)
18 var ufile = (
UFile)value;
19 return ufile.GetFileName();
override object Convert(object value, Type targetType, object parameter, CultureInfo culture)
This converter will convert an UFile to a string representing the file name.
Defines a normalized file path. See UPath for details. This class cannot be inherited.