public static AdornerSetOrder CreateBelow(AdornerSetOrder reference) { if ((OrderToken)reference == (OrderToken)null) { throw new ArgumentNullException("reference"); } return(new AdornerSetOrder(OrderTokenPrecedence.Before, (OrderToken)reference, OrderTokenConflictResolution.Lose)); }
internal AdornerSet(ToolBehaviorContext toolContext, AdornerElementSet adornedElementSet, AdornerSetOrder order) { if (toolContext == null) { throw new ArgumentNullException("toolContext"); } if (adornedElementSet == null) { throw new ArgumentNullException("adornedElementSet"); } this.order = order; this.toolContext = toolContext; this.adornedElementSet = adornedElementSet; }
internal AdornerSet3D(ToolBehaviorContext toolContext, Base3DElement adornedElement, AdornerSetOrder order) { if (toolContext == null) { throw new ArgumentNullException("toolContext"); } if (adornedElement == null) { throw new ArgumentNullException("adornedElement"); } this.toolContext = toolContext; this.adornedElementSet = toolContext.View.Artboard.AdornerLayer.CreateOrGetAdornerElementSetForElement((SceneElement)adornedElement); this.order = order; this.adornerSetVisual = new ModelVisual3D(); this.adornerSetVisual.SetValue(FrameworkElement.NameProperty, (object)"adornerSet3DVisual"); this.adornerSetVisual.Transform = (Transform3D) new MatrixTransform3D(); }
internal AnimatableAdornerSet(ToolBehaviorContext toolContext, AdornerElementSet adornedElementSet, AdornerSetOrder order) : base(toolContext, adornedElementSet, order) { this.activeAnimations = new List <AdornerAnimation>(); }
internal AnimatableAdornerSet(ToolBehaviorContext toolContext, SceneElement adornedElement, AdornerSetOrder order) : this(toolContext, toolContext.View.Artboard.AdornerLayer.CreateOrGetAdornerElementSetForElement(adornedElement), order) { }