←Select platform

AlignWidths Method

Summary

Helper method to align the widths of the items and return the largest value.

Syntax
C#
VB
C++
Protected Overridable Function AlignWidths( 
   ByVal firstItemIndex As Integer, 
   ByVal lastItemIndex As Integer, 
   ByVal itemBounds() As LeadRectD, 
   ByVal alignment As ControlAlignment 
) As LeadRectD 
protected:  
   virtual LeadRectD^ AlignWidths( 
      int firstItemIndex, 
      int lastItemIndex, 
      array<LeadRectD^>^ itemBounds, 
      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.

alignment

Alignment to use.

Return Value

The largest width found.

Remarks

This method is used by UpdateTransform.

Requirements

Target Platforms

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

Leadtools.Controls Assembly