
Untitled
By: a guest on
Aug 8th, 2012 | syntax:
None | size: 0.63 KB | hits: 3 | expires: Never
CheckBox on Windows Phone Page
_wp = new WrapPanel
{
Orientation = System.Windows.Controls.Orientation.Horizontal,
Height = 80,
};
_tb = new TextBlock
{
Text = gameText,
Width = 250
};
_wp.Children.Add(_tb);
_cb = new CheckBox();
_wp.Children.Add(_cb);
this.Items.Add(_wp);
_cb = new CheckBox { CheckedChanged += my_handler }
_cb = new CheckBox ();
_cb.Checked = true;
_cb. CheckedChanged += my_handler ;
_wp.Children.OfType<CheckBox>().Any();