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

            Alternative = builder;

            return(builder);
        }
        public virtual DataGridRowBuilder <TItem> If(Func <TItem, bool> condition)
        {
            var conditional = new DataGridRowBuilderConditional <TItem>(this, condition);

            AddAction(conditional.ExecuteConditional);

            return(conditional);
        }