UIElement.RenderTransform UIElement.RenderTransform UIElement.RenderTransform UIElement.RenderTransform Property

定義

取得或設定影響這個項目呈現位置的轉換資訊。Gets or sets transform information that affects the rendering position of this element. 這是相依性屬性。This is a dependency property.

public:
 property System::Windows::Media::Transform ^ RenderTransform { System::Windows::Media::Transform ^ get(); void set(System::Windows::Media::Transform ^ value); };
public System.Windows.Media.Transform RenderTransform { get; set; }
member this.RenderTransform : System.Windows.Media.Transform with get, set
Public Property RenderTransform As Transform

屬性值

描述所需呈現轉換的特性。Describes the specifics of the desired render transform. 預設為 IdentityThe default is Identity.

備註

呈現轉換不會重新產生配置大小或呈現大小資訊。A render transform does not regenerate layout size or render size information. 呈現轉換通常是針對顯示動畫,或套用暫時效果的項目。Render transforms are typically intended for animating or applying a temporary effect to an element. 例如,項目可能會縮放已取得焦點或移轉,將滑鼠指標放或可能會在載入繪製該部分的眼睛抖動時使用者介面 (UI)user interface (UI)For example, the element might zoom when focused or moused over, or might jitter on load to draw the eye to that part of the 使用者介面 (UI)user interface (UI).

相依性屬性資訊Dependency Property Information

識別項欄位Identifier field RenderTransformProperty
若要設定的中繼資料屬性 trueMetadata properties set to true None

適用於