property ComboBox.Alignment as AlignmentEnum

Retrieves or sets a value that indicates the drop down list's alignment.

 TypeDescription 
   AlignmentEnum An AlignmentEnum expression that indicates the drop down list's alignment.  

By default, the Alignment property is set to RightAlignment. Use the Alignment property to change the alignment of the drop down list. The property has effect only if the control's Style is DropDown or DropList. The property has effect only if the client area width is less than MinWidthList property. Use the Alignment property to align the cells in the column. Use the HeaderAlignment property to specify the alignment of the column's caption in the header. Use the CellHAlignment property to align the caption in the cell. 

The following screen shot shows a drop down control when Alignment property is LeftAlignment:

The following screen shot shows a drop down control when Alignment property is CenterAlignment:

The following screen shot shows a drop down control when Alignment property is RightAlignment:

 


Send comments on this topic.
1999-2017 Exontrol.COM, Software. All rights reserved.