Hunt

Wednesday, September 12, 2012

get stackpanel inside control values in datagrid in silverlight


Stackpanel Inside Controls in datagrid:

if we have button inside datagrid the click the button and add the below lines
 StackPanel stackpanel = ((Button)sender).Parent as StackPanel;
    TextBox txtName = stackpanel.Children[0] as TextBox;
    TextBox txtLName = stackpanel.Children[1] as TextBox;
URL:http://forums.silverlight.net/t/173626.aspx/1

No comments:

Post a Comment