예제 #1
0
        private static void OnContentChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
        {
            HwndContentControl hwndContentControl = (HwndContentControl)obj;

            hwndContentControl.HwndSourcePresenter.Content = args.NewValue;
            LayoutSynchronizer.Update((Visual)hwndContentControl.HwndSourcePresenter);
        }
예제 #2
0
 internal HwndContentControlAutomationPeer(HwndContentControl owner, Visual visualSubtree)
     : base((FrameworkElement)owner)
 {
     this.VisualSubtree = visualSubtree;
 }
예제 #3
0
 internal AutoHideHwndContentControlAutomationPeer(HwndContentControl owner, Visual visualSubtree)
     : base(owner, visualSubtree)
 {
 }