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

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

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