Visual.Offset 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
視覺相對於父視窗的偏移量,或根視覺化的相對於承載該視覺視窗左上角的偏移量。 可被模仿。
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
屬性值
相對於母影像的偏移量。
備註
這個屬性可以被動畫化。 呼叫 CompositionObject.StartAnimation 來關聯它到 CompositionAnimation。