←Select platform

ImageHorizontalAlignment Property

Summary

Specifies how to align the images inside their items horizontally.

Syntax

C#
VB
C++
public virtual ControlAlignment ImageHorizontalAlignment { get; set; } 
Public Overridable Property ImageHorizontalAlignment() As ControlAlignment 
   Get 
   Set 
public:  
   virtual property ControlAlignment^ ImageHorizontalAlignment 
   { 
      ControlAlignment^ get() 
      void set(ControlAlignment^ value) 
   } 

Property Value

The value used to align the images inside their items horizontally. Default value is ControlAlignment.Center.

Remarks

Setting this value will automatically update ImageViewerItem.ImageHorizontalAlignment of all the items in this viewer to the same value. To change an item value individually, use the item property directly.

For more information, refer to Image Viewer Appearance.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.WinForms Assembly