AdornerProperties.GetRenderTransform Method
Gets the render transform for the adorner.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Shared Function GetRenderTransform ( _
adorner As DependencyObject _
) As Transform
public static Transform GetRenderTransform(
DependencyObject adorner
)
public:
static Transform^ GetRenderTransform(
DependencyObject^ adorner
)
static member GetRenderTransform :
adorner:DependencyObject -> Transform
public static function GetRenderTransform(
adorner : DependencyObject
) : Transform
Parameters
- adorner
Type: System.Windows.DependencyObject
The adorner element to retrieve the render transform for.
Return Value
Type: System.Windows.Media.Transform
The render transform associated with adorner, or nulla null reference (Nothing in Visual Basic) if no view has been set.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | adorner is nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace