예제 #1
0
        private static void SetOwnedItemsSource(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            InOrOutControl controll = d as InOrOutControl;

            if (controll != null)
            {
                controll.InItemsLV.ItemsSource = e.NewValue as IEnumerable <BaseEntity>;
            }
        }
예제 #2
0
        private static void SetContainsTxt(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            InOrOutControl controll = d as InOrOutControl;

            if (controll != null)
            {
                controll.ContainsTxtBlock.Text = e.NewValue as string;
            }
        }