←选择平台

WorkingInteractiveMode财产

总结

ImageViewerInteractiveMode它当前正在处理输入事件(正在工作)。

语法
c#
VB
c++
公共虚拟ImageViewerInteractiveModeWorkingInteractiveMode {得到;}
公共重写的只读的财产WorkingInteractiveMode ()作为ImageViewerInteractiveMode得到
公共虚拟财产ImageViewerInteractiveMode^ WorkingInteractiveModeImageViewerInteractiveMode^ get ()

属性值

ImageViewerInteractiveMode它当前正在处理输入事件(正在工作)。

讲话

imageview将钩到ImageViewerInteractiveMode。WorkStartedImageViewerInteractiveMode。WorkCompleted的交互模式InteractiveModes.当工作开始或完成时propertychange的值和属性名“WorkingInteractiveMode”一起触发事件WorkingInteractiveMode相应的更新。使用WorkingInteractiveMode执行应用程序所需的任何自定义操作。

对于支持鼠标指针的设备,光标将更改为的值ImageViewerInteractiveMode。WorkingCursor当交互模式工作时。

有关更多信息,请参阅图像查看器交互模式

例子

这个例子将跟踪工作交互模式值,并将其设置在标签中。

运行演示,单击Example按钮。

imageview例如,删除示例函数内的所有代码(搜索“// TODO: add example code here”注释),并插入以下代码:

c#
VB
使用Leadtools;使用Leadtools.Controls;使用Leadtools.Codecs;使用Leadtools.Drawing;使用Leadtools.ImageProcessing;使用Leadtools.ImageProcessing.Color;公共无效ImageViewerWorkingInteractiveMode_Example ()如果(_imageViewer。WorkingInteractiveMode ! =游标savedCursor = _imageViewer.WorkingInteractiveMode.WorkingCursor;/ /保存_imageViewer.WorkingInteractiveMode。WorkOnBounds =真正的_imageViewer.WorkingInteractiveMode。WorkingCursor = Cursors.WaitCursor;_imageViewer.WorkingInteractiveMode.Start (_imageViewer);_imageViewer.WorkingInteractiveMode。WorkCompleted += (sender, e) =>//将工作光标重置为已保存的光标_imageViewer.WorkingInteractiveMode。WorkingCursor = savedCursor;};
进口Leadtools进口Leadtools。控制进口Leadtools。编解码器进口Leadtools。画进口Leadtools。ImageProcessing进口Leadtools.ImageProcessing.Color进口LeadtoolsControlsExamples.LeadtoolsExamples.Common公共ImageViewerWorkingInteractiveMode_Example ()如果_imageViewer。WorkingInteractiveMode没有什么然后昏暗的savedCursor作为游标= _imageViewer.WorkingInteractiveMode.WorkingCursor“拯救_imageViewer.WorkingInteractiveMode。WorkOnBounds =真正的_imageViewer.WorkingInteractiveMode。WorkingCursor =游标。WaitCursor_imageViewer.WorkingInteractiveMode.Start (_imageViewer)AddHandler_imageViewer.WorkingInteractiveMode.WorkCompleted,(发送者,e)'将工作光标重置为已保存的光标_imageViewer.WorkingInteractiveMode。WorkingCursor = savedCursor结束结束如果结束
需求
目标平台
Leadtools。控制作为sembly
188金宝搏的网址客服|支持|联系我们|知识产权公告
©1991 - 2021领德科技有限公司版权所有。