TransformAnimator.RelativeNode Property
Lets you move an element relative to another by specifyig a Visual to which this transform is relative.
If this proeprty is set you may use the following RelativeTo modes:
Size: Works the same way it would withoutRelativeNode, but measures the size of theRelativeNodeinstead.ParentSize: Same asSizebut measures theRelativeNode's parent size instead.PositionOffset: Moves the element to be in the same position as the element specified byRelativeNode. The offset is measured as the difference inActualPositionbetween the two elements. Note that becauseX,YandVectorwill be interpreted as a factor, you need to specifyX="1" Y="1"orVector="1"for anything to actually happen.TransformOriginOffset: Works likePositionOffset, but instead measures the difference inTransformOrigin.
Location
- Namespace
- Fuse.Animations
- Package
- Fuse.Animations 2.9.1