CTPManagerShareT 类
实现2013以上多窗口的任务面板 避免点击按钮多次创建的问题
命名空间: Excel880VSTO程序集: Excel880VSTO (在 Excel880VSTO.dll 中) 版本:1.5.8.0 (1.5.8.0)
public class CTPManagerShare<T>
where T : new(), UserControl
Public Class CTPManagerShare(Of T As {New, UserControl})
Dim instance As CTPManagerShare(Of T)
- Inheritance
- Object CTPManagerShareT
类型参数
- T
模拟Excel自带一样的侧边栏效果 打开新窗口默认不会开启任务栏 开启过的切换多窗口都有侧边栏
Contains
|
Checks whether workbook has a custom task pane. |
Control
|
|
CTP
|
Returns CTP of the specified workbook. |
Visible
|
Boolean variable to synchronize CTP with ribbon's toggle button. |
实例控件
|
实例控件 |
DisplayCTP
|
Use this method to display the custom task pane when clicking the ribbon toggle button. |
EnterBackStage
|
Use this to keep _isActive value of workbook's CTP unchanged when entering backstage. |
HideCTP
|
Use this method to hide the custom task pane when clicking the ribbon toggle button. |
更新窗格实例
|
|
SizeChange
|
尺寸改变的时候
|
StatusChange
|
Event fired when status (enabled/disabled, visibility) of the CTP changes. Used for refreshing the ribbon toggle button. |