AdornerPanel.GetHorizontalStretch Method

Gets the value of the HorizontalStretch 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 GetHorizontalStretch ( _
    adorner As UIElement _
) As AdornerStretch
public static AdornerStretch GetHorizontalStretch(
    UIElement adorner
)
public:
static AdornerStretch GetHorizontalStretch(
    UIElement^ adorner
)
static member GetHorizontalStretch : 
        adorner:UIElement -> AdornerStretch 
public static function GetHorizontalStretch(
    adorner : UIElement
) : AdornerStretch

Parameters

Return Value

Type: Microsoft.Windows.Design.Interaction.AdornerStretch
An AdornerStretch for the adorner panel along the x-axis. The default value is None.

Exceptions

Exception Condition
ArgumentNullException

adorner is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

AdornerPanel Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Adorner Architecture

Feature Providers and Feature Connectors