Spread Windows Forms 10.0 Product Documentation
ResumeLayout(Boolean) Method
Example 


Boolean: true to perform layout logic for child controls, and false otherwise
Resumes normal layout logic and optionally forces the component to apply layout logic to its child controls.
Syntax
'Declaration
 
Public Overloads Shadows Sub ResumeLayout( _
   ByVal performLayout As Boolean _
) 
'Usage
 
Dim instance As FpSpread
Dim performLayout As Boolean
 
instance.ResumeLayout(performLayout)
public new void ResumeLayout( 
   bool performLayout
)

Parameters

performLayout
Boolean: true to perform layout logic for child controls, and false otherwise
Remarks

Using this method forces an immediate layout if there are any pending layout requests. The SuspendLayout and ResumeLayout methods are used in tandem to suppress multiple layout events while you adjust multiple properties of the component. You would typically call the SuspendLayout method, then set properties of the component, and then call the ResumeLayout method to allow the changes to take effect.

When the performLayout parameter is set to true, an immediate layout occurs if there are any pending layout requests.

Example
This example uses the ResumeLayout method.
fpSpread1.ResumeLayout(true);
FpSpread1.ResumeLayout(True)
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

FpSpread Class
FpSpread Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.