开发者

Stopping SpaceBar from ticking the CheckBox in Silverlight

Can Someone please help me?

I have a Checkbox with a Textbox as its content, but every time I press开发者_开发技巧 spacebar in the textbox then the checkbox ticks and no space goes into the textbox.

Is there anyway to stop the checkbox from ticking if spacebar is pressed and instead put that space in the textbox?


Replace your construction with StackPanel with separated CheckBox and TextBox.

<StackPanel Height="23" Orientation="Horizontal">
    <CheckBox VerticalAlignment="Center" />
    <TextBox MinWidth="100" />
</StackPanel>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜