←Select platform

AlignHeights Method

Summary

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

Syntax

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

Remarks

This method is used by UpdateTransform.

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