Gets and sets a value that determines how to center the image in the control's client area vertically,
when the height of the destination rectangle is smaller than the height of the client area.
Syntax
Visual Basic (Declaration) | |
---|
Public Property ImageVerticalAlignment As VerticalAlignment |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As ImageViewer
Dim value As VerticalAlignment
instance.ImageVerticalAlignment = value
value = instance.ImageVerticalAlignment
|
XAML Attributes Usage | |
---|
<object ImageVerticalAlignment=VerticalAlignment .../> |
XAML Attributes Usage | |
---|
<object ImageVerticalAlignment=VerticalAlignment .../> |
Return Value
A HorizontalAlignment enumeration value that determines how to center the image in the control's client area vertically, when the height of the destination rectangle is smaller than the height of the client area.
Default value is
VerticalAlignment.Center.
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also