Beispiel #1
0
        protected override DependencyObject GetContainerForItemOverride()
        {
            var criteriaItem = new CriteriaItem();

            criteriaItem.CriteriaChanged += CriteriaItem_CriteriaChanged;
            return(criteriaItem);
        }
Beispiel #2
0
        protected override DependencyObject GetContainerForItemOverride()
        {
            var criteriaItem = new CriteriaItem();

            criteriaItem.CriteriaChanged    += CriteriaItem_CriteriaChanged;
            criteriaItem.DataContextChanged += CriteriaItem_DataContextChanged;;
            CriteriaItem_CriteriaChanged(this, default);
            return(criteriaItem);
        }