Пример #1
0
        public override DataGridRowBuilder <TItem> ElseIf(Func <TItem, bool> condition)
        {
            var builder = new DataGridRowBuilderConditional <TItem>(LastFlow, condition);

            Alternative = builder;

            return(builder);
        }
Пример #2
0
        public virtual DataGridRowBuilder <TItem> If(Func <TItem, bool> condition)
        {
            var conditional = new DataGridRowBuilderConditional <TItem>(this, condition);

            AddAction(conditional.ExecuteConditional);

            return(conditional);
        }