←Select platform

AlignRow Method

Summary

Align the items to even distances in a row.

Syntax
C#
VB
C++
protected virtual void AlignRow( 
   int firstItemIndex, 
   int lastItemIndex, 
   LeadRectD[] itemBounds, 
   double rowWidth, 
   double totalWidth, 
   ControlAlignment alignment 
) 
Protected Overridable Sub AlignRow( 
   ByVal firstItemIndex As Integer, 
   ByVal lastItemIndex As Integer, 
   ByVal itemBounds() As LeadRectD, 
   ByVal rowWidth As Double, 
   ByVal totalWidth As Double, 
   ByVal alignment As ControlAlignment 
) 
protected:  
   virtual void AlignRow( 
       int firstItemIndex, 
      int lastItemIndex, 
      array<LeadRectD^>^ itemBounds, 
      double rowWidth, 
      double totalWidth, 
      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.

rowWidth

The row width in pixels.

totalWidth

Largest row width found in the layout.

alignment

Alignment to use.

Remarks

This method is used by UpdateTransform.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.