January 7th, 2012 03:56 PM
You need to create a property in your ViewModel like
private bool _myControlIsBusy;
public bool MyControlIsBusy
{
get { return _myControlIsBusy; }
set
{
_myControlIsBusy = value;...
October 9th, 2011 12:47 PM
Couldn't you just open the XML file and change the xmlns attribute on the root? If you need to do it in code, XElement in System.XML.Linq provides support. Use XElement.Name.Namespace.
October 9th, 2011 12:40 PM
There's not enough information here to give a meaningful response. Can you give more details? Maybe an example of how you'd like to call this method?
October 7th, 2011 08:40 PM
Every UserControl/Page has a Loaded event you could use for things like that. If you're using caching, you might consider the OnNavigatedTo event of the Page.
October 7th, 2011 08:33 PM
I don't think there is one built into Silverlight. You could set up a timer in your MainPage that resets when the user does something and logs them out or whatever after however long you want.
October 7th, 2011 08:30 PM
As far as I know, you the DataGrid class does not support adding rows yourself, it is for templating rows and binding to an ItemsSource. FYI that the Grid class does let you add rows.
You can just...