GrapeCity MultiRow Windows Forms Documentation
VerticalResize Method (Column)


Resize column number of offset pixel in vertical direction. If offset is larger than 0, column's bottom border will move down and made column larger than before. If offset is smaller than 0, column's bottom will resize to up and made column smaller than before.
Resizes column programmatically in vertical direction.
Syntax
Public Sub VerticalResize( _
   ByVal offset As Integer _
) 
Dim instance As Column
Dim offset As Integer
 
instance.VerticalResize(offset)
public void VerticalResize( 
   int offset
)

Parameters

offset
Resize column number of offset pixel in vertical direction. If offset is larger than 0, column's bottom border will move down and made column larger than before. If offset is smaller than 0, column's bottom will resize to up and made column smaller than before.
Exceptions
ExceptionDescription
System.InvalidOperationException

Executes this method when the template's layout mode is top-to-bottom.

-or-

Executes this method when the row count is 0.

-or-

The cell's Width or Height in the column is zero.

-or-

This column is beyond the bound of the parent Section.

Remarks
This method provides the capability to resize the column programmatically.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Column Class
Column Members
HorizontalResize Method

 

 


Copyright © GrapeCity, inc. All rights reserved.