Wednesday, September 26, 2012

Usercontrol with different values

Usercontrol with different values

I have a multi check box as a usercontrol

I have a search page and created a reference of the usercontrol

  <TextBlock Grid.Row="0" Grid.Column="1" Text="State" ></TextBlock>      <my:MultiCheck Grid.Row="1"  Grid.Column="1" x:Name="State"/>
Here in this usercontrol i need to load the States 
 
 <TextBlock Grid.Row="0" Grid.Column="1" Text="Country" ></TextBlock>   <my:MultiCheck Grid.Row="1"  Grid.Column="1" x:Name="Country"/>
Here in this usercontrol i need to load the Country 
 
i.e Usercontrols are loaded with different but we have the format alone as the usercontrol. I need to use 
InotifyProperty since i want to reload things on any changes in the selection

Answers & Comments...

Answer: 1

http://www.codeproject.com/Tips/452756/Add-checkbox-inside-Combobox-in-Silverlight

http://www.henrycordes.nl/post/2008/06/Create-a-UserControl-with-Silverlight-20-(Beta-x)---Part-2.aspx

http://stackoverflow.com/questions/1526767/silverlight-usercontrol-custom-property-binding





No comments:

Post a Comment

Send us your comment related to the topic mentioned on the blog