开发者

Setting toggle switch value

How can I switch the toggle swit开发者_如何学JAVAch button to be true without triggering the ToggleSwitch_Checked function?

I am using the toggleswitch.IsChecked property, but this is triggering the previously mentioned function.


If you don't want the events to be triggered when first setting the value of the control you could simply not attach the event handler(s) until the initial values have been set.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜