public override void ApplyDockTargetConstraints(DockAdornerWindow adornerLayer, ViewElement floatingElement) { DockAdornerWindow dockAdornerWindow = adornerLayer; int num1 = dockAdornerWindow.IsInnerCenterTargetEnabled ? 1 : 0; int num2 = 0; dockAdornerWindow.IsInnerCenterTargetEnabled = num2 != 0; }
protected override void PrepareAdornerLayer(DockAdornerWindow adornerLayer, ViewElement floatingElement) { DockTarget target = (DockTarget)adornerLayer.AdornedElement; ConstrainedView constrainedView1 = target.TargetElement as ConstrainedView; ConstrainedView constrainedView2 = floatingElement as ConstrainedView; if (constrainedView2 != null) { constrainedView2.ApplyFloatingConstraints(adornerLayer, target); } if (constrainedView1 == null) { return; } constrainedView1.ApplyDockTargetConstraints(adornerLayer, floatingElement); }
public abstract void ApplyDockTargetConstraints(DockAdornerWindow adornerLayer, ViewElement floatingElement);
public abstract void ApplyFloatingConstraints(DockAdornerWindow adornerLayer, DockTarget target);