This project is read-only.

AppBarUtils 2.4

Rating:        Based on 1 rating
Reviewed:  0 reviews
Downloads: 1500
Released: Jun 9, 2013
Updated: Jun 9, 2013 by allenlooplee
Dev status: Stable Help Icon

Recommended Download

Application AppBarUtils 2.4 Binary (WP8).zip
application, 11K, uploaded Jun 9, 2013 - 770 downloads

Other Available Downloads

Application AppBarUtils 2.4 Binary (WP7).zip
application, 11K, uploaded Jun 9, 2013 - 66 downloads
Source Code AppBarUtils 2.4 Source.zip
source code, 2369K, uploaded Jun 9, 2013 - 664 downloads

Release Notes

Previously buttons and menu items in dynamic app bar can only execute code via command binding. It's a pity not to take advantage of existing well tested actions from Blend SDK, which is what this release tries to address.

With this release, you can embed actions from Blend SDK or other third parties into buttons and menu items in dynamic app bar like below:

<i:Interaction.Triggers>
    <abu:StateChangedTrigger State="{Binding IsSelecting}">
        <abu:SwitchAppBarAction>
            <abu:AppBar Id="0">
                <abu:AppBar.MenuItems>
                    <abu:AppBarMenuItem Text="settings">
                        <ec:NavigateToPageAction TargetPage="/DummyPage.xaml"/>
                    </abu:AppBarMenuItem>
                </abu:AppBar.MenuItems>
                <abu:AppBarButton IconUri="/icons/appbar.add.rest.png" Text="add">
                    <ec:NavigateToPageAction TargetPage="/DummyPage.xaml"/>
                </abu:AppBarButton>
                <abu:AppBarButton IconUri="/icons/appbar.list.check.png" Text="select" Command="{Binding SelectCommand}"/>
            </abu:AppBar>
            <abu:AppBar Id="1">
                <abu:AppBarButton IconUri="/icons/appbar.delete.rest.png" Text="delete" Command="{Binding DeleteCommand}"/>
            </abu:AppBar>
        </abu:SwitchAppBarAction>
    </abu:StateChangedTrigger>
</i:Interaction.Triggers>
Note the use of NavigateToPageAction in the above code.

It's possible to have both command binding and actions embeded at the same time. In this case, both of them will be executed. Therefore, if you have code that navigate back in the command, don't use navigation action to avoid duplicate operations.

This feature supports both Windows Phone SDK 7.1 and 8.0. Enjoy!

Reviews for this release