UIElement.RenderTransform 屬性


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

 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 NoneNone