←Select platform

AlignColumn Method

Summary

Align the items to even distances in a column.

Syntax
C#
VB
C++
protected virtual void AlignColumn( 
   int firstItemIndex, 
   int lastItemIndex, 
   LeadRectD[] itemBounds, 
   double columnHeight, 
   double totalHeight, 
   ControlAlignment alignment 
) 
Protected Overridable Sub AlignColumn( 
   ByVal firstItemIndex As Integer, 
   ByVal lastItemIndex As Integer, 
   ByVal itemBounds() As LeadRectD, 
   ByVal columnHeight As Double, 
   ByVal totalHeight As Double, 
   ByVal alignment As ControlAlignment 
) 
protected:  
   virtual void AlignColumn( 
       int firstItemIndex, 
      int lastItemIndex, 
      array<LeadRectD^>^ itemBounds, 
      double columnHeight, 
      double totalHeight, 
      ControlAlignment^ alignment 
   ) 

Parameters

firstItemIndex

Index of the first item in itemBounds to align.

lastItemIndex

Index of the last item in itemBounds to align.

itemBounds

Array of item bounds to update.

columnHeight

This column height in pixels.

totalHeight

Largest column height found in the layout.

alignment

Alignment to use.

Remarks

This method is used by UpdateTransform.

Requirements

Target Platforms

Help Version 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly