Spread Windows Forms 9.0 Product Documentation
SetActiveViewport Method (SpreadView)


Sets the active viewport.

Sets the active viewport.

Overload List
OverloadDescription
SetActiveViewport(Int32,Int32)Sets the active viewport.  
SetActiveViewport(Int32,Int32,Int32)Sets the active viewport for the specified sheet.  
Remarks
Spread is designed to keep the active viewport in sync with the active cell. If the active cell is in a frozen row or column then the active viewport should be a frozen viewport. If the active cell is in a frozen viewport and you want to set a non-frozen viewport to be active, you can move the active cell to a scrollable row and then set the active viewport to the desired scrollable viewport. Use the SetActiveCell method and then use this SetActiveViewport method.
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

SpreadView Class
SpreadView Members

User-Task Documentation

Customizing Viewports

 

 


Copyright © GrapeCity, inc. All rights reserved.