Share via


AdornerPanel.SetVerticalStretch Method

Sets the value of the VerticalStretch attached property for the provided element.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Shared Sub SetVerticalStretch ( _
    adorner As UIElement, _
    value As AdornerStretch _
)
public static void SetVerticalStretch(
    UIElement adorner,
    AdornerStretch value
)
public:
static void SetVerticalStretch(
    UIElement^ adorner, 
    AdornerStretch value
)
static member SetVerticalStretch : 
        adorner:UIElement * 
        value:AdornerStretch -> unit 
public static function SetVerticalStretch(
    adorner : UIElement, 
    value : AdornerStretch
)

Parameters

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