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 |
C# | |
---|---|
public VerticalAlignment ImageVerticalAlignment {get; set;} |
C++/CLI | |
---|---|
public: property VerticalAlignment ImageVerticalAlignment { VerticalAlignment get(); void set ( VerticalAlignment value); } |
Property Value
A member of the System.Windows.VerticalAlignment enumeration specifying the vertical alignment for the image in this control. The default is VerticalAlignment.Center.For XAML example, refer to ImageHorizontalAlignment.
For C#/VB examples, refer to ImageHorizontalAlignment.
Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family