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 theRelativeNode
instead.ParentSize
: Same asSize
but 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 inActualPosition
between the two elements. Note that becauseX
,Y
andVector
will 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