When a view loads, it's ideal to be able to set focus on a particular control so the user won't need to actually click or tab to the control to start data entry. This is not an unreasonable expectation for any Silverlight application that has any sort of data entry. Normally, a FocusManager would handle this task, but in Silverlight, the FocusManager is trimmed down and there is no support for Setting Focus from the XAML side of things. Obviously, this is a UI related task and it makes a lot of sense to keep this responsibility as close to the UI as possible.
If you are using Jounce, it's really easy to build a control that can tap into the messaging infrastructure (IEventSink<ViewNavigatedArgs>) so that when a view loads, a control of choice obtains a default focus.
So what would such an implementation look like? As I mentioned before, I'd like to keep this logic as close to the view as possible and at t ...
Go to the complete details ...