Category Archives: controls

BIDI support on windows phone app

Windows phone supports bidi text quite nicely in the built-in applications. When I try it on my app, the text shows on  the screen but it is not in the correct order. There is no support for bi-directional text in … Continue reading

Share
Posted in controls, wp7 | Tagged , | Leave a comment

ApplicationBarIconButton and embedded resources

I can’t figure out how to set the IconUri property on ApplicationBarIconButton so that it picks up images that are packed in my assembly as Embedded Resources. You can not use embedded resources for application bar buttons. You have to … Continue reading

Share
Posted in controls, wp7 | Tagged , | Leave a comment

ApplicationBar and Content area in my Page

I noticed that changing the Opacity in my page’s ApplicationBar affects the content area for my application. Is that right? Yes. When ApplicationBar has Opacity=1.0, the system reserves the space for the ApplicationBar, making the PhoneApplicationFrame’s Content Area smaller. When … Continue reading

Share
Posted in controls, wp7 | Tagged | Leave a comment

ApplicationBarMenuItem and IsEnabled

I noticed that if I change the ApplicationBarMenuItem properties (like IsEnabled or Text), the new values are not picked up until the menu is closed and reopened. Is this a bug? Yes. This is a known bug. For now, we … Continue reading

Share
Posted in controls, wp7 | Tagged , , | Leave a comment

ApplicationBar buttons in custom theme applications

My application has a branded look & feel. It has a different background and foreground color. All the documentation on creating application bar icons says they should be white icons on a transparent background.   I don’t want my icons to … Continue reading

Share
Posted in controls, wp7 | Tagged | Leave a comment

I can’t access Application Bar buttons by x:Name

My application bar has buttons with x:Name, but I can’t access it from code. I get a nullreference exception.   ApplicationBar is not a standard Silverlight control; neither are ApplicationBarIconButtons. They won’t support styling, data binding, etc. Though the compiler … Continue reading

Share
Posted in controls, wp7 | Tagged | Leave a comment

Setting SelectedIndex in a Pivot during page constructor

I am getting an Application UnhandledException  (of type AgumentException, message “The parameter is incorrect”) when I set the SelectedIndex of a Pivot in my page’s constructor. This is a known issue. You have to wait until the pivot is loaded … Continue reading

Share
Posted in controls, wp7 | Tagged | Leave a comment

Navigating panorama programmatically

How can I set the SelectedIndex in a Panorama control? or force a navigation to a specific item? Panorama is designed so the user is in control, there fore you can not set SelectedIndex programmatically, or force a navigation to … Continue reading

Share
Posted in controls, wp7 | Tagged | 1 Comment