Visual.Offset Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The offset of the visual relative to its parent or for a root visual the offset relative to the upper-left corner of the windows that hosts the visual. Animatable.
public:
property float3 Offset { float3 get(); void set(float3 value); };
float3 Offset();
void Offset(float3 value);
public Vector3 Offset { get; set; }
var vector3 = visual.offset;
visual.offset = vector3;
Public Property Offset As Vector3
Property Value
Offset of the visual relative to its parent.
Remarks
This property can be animated. Call CompositionObject.StartAnimation to associate it with a CompositionAnimation.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor