AdornerPanel.GetAdornerMargin Method
Gets the AdornerMargin attached property for the specified DependencyObject.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Shared Function GetAdornerMargin ( _
obj As DependencyObject _
) As Thickness
public static Thickness GetAdornerMargin(
DependencyObject obj
)
public:
static Thickness GetAdornerMargin(
DependencyObject^ obj
)
static member GetAdornerMargin :
obj:DependencyObject -> Thickness
public static function GetAdornerMargin(
obj : DependencyObject
) : Thickness
Parameters
- obj
Type: System.Windows.DependencyObject
The element from which the property value is read.
Return Value
Type: System.Windows.Thickness
A Thickness that represents the AdornerMargin for obj.
.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