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.

 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