Exemple #1
0
        public static string Text(this GridCell cell)
        {
            if (cell.Patterns.Value.IsSupported)
            {
                if (cell.Value.StartsWith("Item:"))
                {
                    return(string.Empty);
                }

                return(cell.Value);
            }

            var text = cell.AsLabel().Text;

            if (text.Contains(NewItemPlaceholder))
            {
                return(NewItemPlaceholder);
            }

            return(text);
        }