Пример #1
0
        public TextCellViewModel <T> AddTextCell <T>(T data, Expression <Func <T, string> > property, string text, CellIndicators indicators = CellIndicators.None)
            where T : class
        {
            var cell = new TextCellViewModel <T>(data, property)
            {
                Text        = text,
                Accessories = indicators,
            };

            return(AddCell(cell));
        }
Пример #2
0
        public TextCellViewModel AddTextCell(string text, string detail = "", CellIndicators indicators = CellIndicators.None)
        {
            var cell = new TextCellViewModel(text, detail, indicators);

            return(AddCell(cell));
        }