沒有找到合適的產(chǎn)品?
聯(lián)系客服協(xié)助選型:023-68661681
提供3000多款全球軟件/控件產(chǎn)品
針對軟件研發(fā)的各個階段提供專業(yè)培訓與技術咨詢
根據(jù)客戶需求提供定制化的軟件開發(fā)服務
全球知名設計軟件,顯著提升設計質(zhì)量
打造以經(jīng)營為中心,實現(xiàn)生產(chǎn)過程透明化管理
幫助企業(yè)合理產(chǎn)能分配,提高資源利用率
快速打造數(shù)字化生產(chǎn)線,實現(xiàn)全流程追溯
生產(chǎn)過程精準追溯,滿足企業(yè)合規(guī)要求
以六西格瑪為理論基礎,實現(xiàn)產(chǎn)品質(zhì)量全數(shù)字化管理
通過大屏電子看板,實現(xiàn)車間透明化管理
對設備進行全生命周期管理,提高設備綜合利用率
實現(xiàn)設備數(shù)據(jù)的實時采集與監(jiān)控
打通數(shù)據(jù)孤島 實現(xiàn)生產(chǎn)過程全透明化
實現(xiàn)產(chǎn)品全生命周期的質(zhì)量管理與追溯
精準制定生產(chǎn)計劃 合理配置生產(chǎn)資源
全面可視的生產(chǎn)質(zhì)量統(tǒng)計與追溯
一鍵生成排產(chǎn)計劃,有效提升資源利用率
打通生產(chǎn)過程數(shù)字化全鏈路,提高生產(chǎn)效率
幫助企業(yè)大幅降低因改裝質(zhì)量問題帶來的損失
打造數(shù)字化工廠,全面提升產(chǎn)品質(zhì)量
快速應對訂單變化,大幅減少企業(yè)資源浪費
實現(xiàn)產(chǎn)品報價快速精準,全面實現(xiàn)生產(chǎn)透明化
打造生產(chǎn)計劃自動排產(chǎn)信息化平臺
ZoomPanel is a custom control that provides animated zooming and panning capabilities to any WPF application.
聲明:本產(chǎn)品中文介紹為慧都網(wǎng)版權所有,未經(jīng)慧都公司書面許可,嚴禁拷貝、轉載!
* 關于本產(chǎn)品的分類與介紹僅供參考,精準產(chǎn)品資料以官網(wǎng)介紹為準,如需購買請先行測試。
主要功能
在該庫中的控件
ZoomPanel控件只是Ab2d.Controls.ZoomPanel庫的主控件。該庫包含:
注:該庫僅在WPF應用程序中可用—不支持Silverlight。
該軟件包包含一個詳細的幫助文件。
這里還有許多示例用于查看ZoomPanel和其他控件的實際運行效果。此外,其他三個用戶案例示例顯示了使用先進的縮放和平移來改善一個現(xiàn)實世界的應用程序是多么的簡單(點擊圖片看更大的屏幕截圖):
Painter | Documents browser | Image browser |
ZoomPanel 和ZoomController
WPF的矢量圖形引擎是一個完美的選擇用于顯示復雜的2D圖表,模式,復雜的圖表和其他的圖表元素。它常常是為了應用程序的用戶用于查看整個圖像,同時用戶也能夠放大來查看其細節(jié)部分。WPF已經(jīng)提供了一些基本的縮放和轉換機制。但它從Scale和Translate Transform到一個偉大的用戶體驗經(jīng)歷了很長的一段路程。
下面的代碼是所有需要使用具有默認的ZoomController的ZoomPanel所必須的(在右上角的5個按鈕):
首先,我們需要向我們的程序集中添加應用并添加命名空間的聲明到根元素中。該ZoomPanel控件完成了大部分的“魔力”。基于它的ZoomMode,它可以放大,縮小,平移,縮放到ZoomPanel的內(nèi)容的選定的矩形區(qū)域(在我們的示例中時“12345”文本)。ZoomController控件只是一個預定義的ToggleButtons面板,它使得應用程序的用戶在ZoomPanel上不同的ZoomMode 切換。
以下的ZoomModes可用:
在所有的縮放模式中除了None,放大和縮小也可以使用鼠標滾輪來進行(如果IsMouseWheelZoomEnabled屬性沒有被禁用)。
ZoomPanel可以使用許多它自身的公共方法完全的定制。另外從中可以得到一個自定義的控件并且一些核心的方法可以被重載,以提供自定義的行為。
它還可以創(chuàng)建您自己的ZoomController— 在示例程序中的相關包中顯示了兩種不同的方法可以實現(xiàn)這一點。
有關屬性和方法的更多信息能夠在該軟件包所包含的幫助文檔中找到。
ViewboxEx
ViewboxEx控件是非常類似標準的WPF的Viewbox控件。使用它的默認設置它伸展和縮放一個單一的子視圖以填充現(xiàn)有可用的控件。
ViewboxEx通過定義額外的屬性擴展了Viewbox—Viewbox。它的默認值作為字符串是“0 0 1 1”—其定義了一個在(0,0)開始的并其高度和寬度為1的矩形。這就意味著顯示整個內(nèi)容——通過相對的默認值(1指的是100%)。
下面的代碼示例顯示的只包含TextBlock的右半部分— 以該視圖的50%比例開始并顯示寬度的50%。
以下來自示例應用層序中的圖像顯示了一些其他Viewbox值的顯示結果:
RectAnimation
RectAnimation是一個自定義的動畫類,它能夠被用于一個矩形到另一個矩形的動畫產(chǎn)生。它與ZoomPanel控件一起使用為縮放產(chǎn)生動畫。下面的代碼顯示了一個可用的示例。
Main features
Controls in the library
ZoomPanel control is just the main control in the Ab2d.Controls.ZoomPanel library. The library contains:
Note: the library is available only for WPF applications - not for Silverlight.
The package includes a detailed help file.
There are also many samples to see the ZoomPanel and other controls in action. Besides other samples there are also three Use Case samples that shows how simple is to improve a real world application with advanced zooming and panning (click on image to see a bigger screenshot):
Painter | Documents browser | Image browser |
ZoomPanel and ZoomController
WPF's vector based graphical engine is a perfect choice to display complex 2D diagrams, schemas, complex graphs and other graphical elements. It is often necessary for the user of the application to see the whole image and that the user can also zoom in to see the details. The WPF already provides some basic scaling and translating mechanism. But it is a long way from Scale and Translate Transform to a great user experience.
The following code is all that is needed to use the ZoomPanel with the default ZoomController
(5 buttons on the top-right):
Firstly we need to add reference to our assembly and add a namespace declaration to the root element. The ZoomPanel control does most of the "magic". Based on its ZoomMode it enables zooming in and out, panning, zooming to selected rectangle of the content of ZoomPanel (in our sample "12345" text). The ZoomController control is just a predefined ToggleButtons panel that enables user of the application to switch between different ZoomMode on ZoomPanel.
The following ZoomModes are available:
In all zoom modes except None zooming in and out can be also done with mouse wheel (if not disabled by IsMouseWheelZoomEnabled property).
The ZoomPanel can be fully customized by using many of its public methods. Also a custom control can be derived from it and some core methods can be overriden to provide custom behavior.
It is also possible to create your own ZoomController - the sample application that comes with the package shows two different ways to do this.
More info on properties and methods can be found in the help file that is included in the package.
ViewboxEx
ViewboxEx control is very similar to standard WPF's Viewbox control. With its default setting it stretch and scale a single child to fill the available space.
ViewboxEx extends the Viewbox by defining additional property - Viewbox. Its default value as string is "0 0 1 1" - this defines a Rect at (0,0) and its width and heigth to 1. This means the whole content is shown - by default the values are relative (1 meaning 100%).
The following code sample shows only the right half of the containing TextBlock - starting at 50% and showing 50% of width:
The following images from sample application show results of some other Viewbox values:
RectAnimation
RectAnimation is a custom animation class that can be use to animate one Rect to another. It is used with ZoomPanel control to animate the zooming. The following code shows a possible use.
更新時間:2015-01-28 10:22:00.000 | 錄入時間:2010-05-27 16:23:22.000 | 責任編輯:何家巧
行業(yè)領先的界面控件開發(fā)包,幫助企業(yè)構建卓越應用!
軟件基于云端的界面設計工具,用于用戶界面(UI)和用戶體驗(UX)設計
軟件一款用于制作實時的、照片級別的高級圖形界面和強大交互控制的三維模擬軟件
控件高性價比的企業(yè)級.NET用戶界面套包,助力企業(yè)創(chuàng)建卓越應用!
控件幫助你創(chuàng)建穩(wěn)定且多樣的應用程序皮膚。
官方微信
官方微博
服務電話
重慶/ 023-68661681
華東/ 13452821722
華南/ 18100878085
華北/ 17382392642
客戶支持
技術支持咨詢服務
服務熱線:400-700-1020
郵箱:sales@evget.com
關注我們
地址 : 重慶市九龍坡區(qū)火炬大道69號6幢
慧都科技 版權所有 Copyright 2003- 2024 渝ICP備12000582號-13 渝公網(wǎng)安備 50010702500608號