Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- adorner
Type: System.Windows.UIElement
The UIElement from which to read the VerticalStretch attached property.
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
- 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