IMPORTANT: 

The project has got a new, more appropriate name and is avaiable at: http://wpextensions.codeplex.com/

My sincere apologies for any possible inconviniences with that.

New release fixes some known bugs and adds new features. AdvancedApplicationBar now supports a "Tombstone" state.

The old address (shwp.codeplex.com) will not have any project updates, and is to be closed in 3 months.

----

Helper for WP7 developer:

namespace:

xmlns:Sh="clr-namespace:Sh;assembly=Sh"


features:

update text box on change:

 

<TextBox Text="{Binding CustomText, Mode=TwoWay}" 
         Sh:Extensions.UpdateBindingOnChange="true" />

 

select all in text box on focus:

 

<TextBox Text="abcdef" Sh:Extensions.SelectAllOnFocus="true" />

 

focus on textBox on load page

<phone:PhoneApplicationPage 
    ...
   Sh:Extensions.FocusOnLoad="txtBox">

 

AdvancedApplicationBar

Support Binding and ICommand:

 

 <Sh:AdvancedApplicationBarIconButton 
                Text="{Binding AppBarIconButtonText}"
                IconUri="{Binding AppBarIconButtonText}"
                Visibility="{Binding Visibility}"
                Command="{Binding DeleteCommand}"
                CommandParameter="42"
                />

Support Panorama/Pivot:

     <Grid x:Name="ContentPanel" Margin="12,0,12,0">
        <Sh:AdvancedApplicationBarIconButton ... />
            <controls:Panorama>
                <controls:PanoramaItem>
                    <Grid>
                        ...
                         <Sh:AdvancedApplicationBarIconButton .../>
                         <Sh:AdvancedApplicationBarIconButton ... />
                         <Sh:AdvancedApplicationBarMenuItem ... />
                    </Grid>
                </controls:PanoramaItem>
                <controls:PanoramaItem>
                    <Grid>
                        <Sh:AdvancedApplicationBarIconButton ... />
                    </Grid>
                </controls:PanoramaItem>
            </controls:Panorama>
            <Sh:AdvancedApplicationBar>
                <Sh:AdvancedApplicationBarIconButton ... />
            </Sh:AdvancedApplicationBar>
        </Grid> 

Last edited Feb 26, 2012 at 12:54 PM by Atreides07, version 17