如何在RadImageEditor中隐藏左侧的工具面板? [英] How to hide the tool panel on the left in RadImageEditor?
本文介绍了如何在RadImageEditor中隐藏左侧的工具面板?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
如何隐藏RadImageEditor左侧的工具面板?
Hi everyone
How to hide the tool panel on the left in RadImageEditor?
推荐答案
您可以将ZoomController添加到视图中并将其绑定到其中的RadImageEditor,以允许放大/缩小功能,如RadImageEditorUI中的那样。
< telerik:radimageeditor name =imageEditorxmlns:telerik =#unknown>
< imaging:zoomcontroller grid.row =1imageeditor ={Binding ElementName = imageEditor}margin =0 8xmlns:imaging =#unknown>
成像命名空间应定义如下:
xmlns:imaging = clr-namespace:Telerik.Windows.Media.Imaging; assembly = Telerik.Windows.Controls.ImageEditor
或者,您可以在应用程序中采用隐式样式修改RadImageEditorUI的默认样式以满足您的需求。
我希望这会有所帮助。
问候,
Viral
Hi,
You can add a ZoomController to your view and bind it to the RadImageEditor in it to allow zoom in/out functionality like the one in RadImageEditorUI.
<telerik:radimageeditor name="imageEditor" xmlns:telerik="#unknown">
<imaging:zoomcontroller grid.row="1" imageeditor="{Binding ElementName=imageEditor}" margin="0 8" xmlns:imaging="#unknown">
The imaging namespace should be defined as follows:
xmlns:imaging="clr-namespace:Telerik.Windows.Media.Imaging;assembly=Telerik.Windows.Controls.ImageEditor"
Alternatively, you can adopt implicit styles in your application and modify the default style of RadImageEditorUI to fit your needs.
I hope this helps.
Regards,
Viral
这篇关于如何在RadImageEditor中隐藏左侧的工具面板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文