This repository has been archived on 2023-01-27. You can view files and clone it, but cannot push or open issues or pull requests.
cad/ref/xcad-examples/WeldmentProfilesSelector/cs/FileItem.cs
2022-10-15 19:16:08 +02:00

18 lines
324 B
C#

namespace CascadingComboBox
{
public class FileItem
{
public string Path { get; }
public FileItem(string path)
{
Path = path;
}
public override string ToString()
{
return System.IO.Path.GetFileNameWithoutExtension(Path);
}
}
}