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)
20 var ufile = (
UFile)value;
21 return ufile.GetFileNameWithExtension();
This converter will convert an UFile to a string representing the file name with its extension...
override object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Defines a normalized file path. See UPath for details. This class cannot be inherited.