Share via


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

Return Value

Type: System.Windows.Thickness
A Thickness that represents the AdornerMargin for obj.

.NET Framework Security

See Also

Reference

AdornerPanel Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Adorner Architecture

Feature Providers and Feature Connectors