示例#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;
            }
        }