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.
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
- adorner
Type: System.Windows.UIElement
The element to which the VerticalStretch attached property is written.
- value
Type: Microsoft.Windows.Design.Interaction.AdornerStretch
The AdornerStretch value for the vertical dimension.
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