GrapeCity MultiRow Windows Forms Documentation
HorizontalResize Method (Column)


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

Parameters

offset
Resize column number of offset pixel in horizontal direction. If offset is larger than 0, column's right border will move rigth and made column larger than before. If offset is smaller than 0, column's right will resize to left and made column smaller than before.
Exceptions
ExceptionDescription
System.InvalidOperationException

Executes this method when the template's layout mode is left-to-right.

-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.