LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
ImageVerticalAlignment Property
See Also 
Leadtools.Windows.Controls Namespace > ImageViewer Class : ImageVerticalAlignment Property



Gets or sets a value that indicates the vertical alignment for the image in this control. This is a dependency property. Supported in Silverlight, Windows Phone 7

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
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.

Example

For XAML example, refer to ImageHorizontalAlignment.

For C#/VB examples, refer to ImageHorizontalAlignment.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also