Share via


AdornerPanel.GetVerticalStretch Method

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

Parameters

Return Value

Type: Microsoft.Windows.Design.Interaction.AdornerStretch
An AdornerStretch for the adorner panel along the y-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