[]
Represents a worksheet pane.
An IPane provides access to the scroll position and activation state
of a pane in a worksheet view. You can obtain an IPane from the active
pane by calling ActivePane, or from the pane collection
returned by Panes.
public interface IPane
Public Interface IPane
worksheet.SplitPanes(2, 2);
IPane pane = worksheet.ActivePane;
pane.ScrollRow = 3;
pane.ScrollColumn = 2;
| Name | Description |
|---|---|
| Index | Gets the index of this pane within the collection of panes on the worksheet. This index identifies the pane's position in the Panes collection. |
| ScrollColumn | Gets or sets the index of the leftmost visible column in the pane or worksheet. Use this property to determine or change the current horizontal scroll position of a split pane. |
| ScrollRow | Gets or sets the number of the row that appears at the top of the pane or worksheet. Use this property to determine or change the current vertical scroll position for a pane after the worksheet has been split or scrolled. |
| Name | Description |
|---|---|
| Activate() | Activates this pane. You cannot activate a frozen pane. |