本文介绍了如何使DataForm提交和取消按钮始终可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello guys ..



i想要使提交和取消按钮始终可见并在数据窗口中启用。

以下是我正在使用的代码,但提交和取消按钮并不总是启用。

当我在数据字段中输入任何值时,它将启用。但我希望它应该始终启用。



< data:DataForm x:Name =   DeliveryForm Margin =   4标头=   {Binding Delivery_Label.name} AutoGenerateFields =   False AutoEdit =   True AutoCommit =   False CommandButtonsVisibility =  提交,取消 EditEnded =   DeliveryForm_EditEnded 
KeyUp = DeliveryForm_KeyUp >







如果有人有任何建议,请给我。





谢谢

Sandeep

解决方案

Hello guys..

i want to make Commit and Cancel button always visible and enable in the DataForm in silvelight.
following is the code which i am using but the Commit and cancel button is not always enable.
When i enter any value in the datafield then it goes enable. but i want it should be always enable.

<data:DataForm x:Name="DeliveryForm" Margin="4" Header="{Binding Delivery_Label.name}" AutoGenerateFields="False" AutoEdit="True" AutoCommit="False" CommandButtonsVisibility="Commit,Cancel" EditEnded="DeliveryForm_EditEnded"
KeyUp="DeliveryForm_KeyUp">




Please if any one has any suggestion then please give me.


Thanks
Sandeep

解决方案


这篇关于如何使DataForm提交和取消按钮始终可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-04 22:39