Item name "..."

This commit is contained in:
2022-02-14 12:07:17 +01:00
parent 9661155cdd
commit b11d009195
11 changed files with 188 additions and 24 deletions

View File

@@ -1,18 +1,14 @@
using Avalonia.Media;
using System;
using System.Collections.Generic;
using System.Text;
namespace FileTime.Avalonia.Models
namespace FileTime.Avalonia.Models
{
public class ItemNamePart
{
public string Text { get; set; }
public TextDecorationCollection? TextDecorations { get; set; }
public bool IsSpecial { get; set; }
public ItemNamePart(string text)
public ItemNamePart(string text, bool isSpecial = false)
{
Text = text;
IsSpecial = isSpecial;
}
}
}