This project is read-only.

AppBarUtils 1.0 RC 2

Rating: No reviews yet
Downloads: 38
Released: Sep 7, 2011
Updated: Sep 9, 2011 by allenlooplee
Dev status: Beta Help Icon

Recommended Download

Application AppBarUtils 1.0 RC 2 Binary.zip
application, 7K, uploaded Sep 7, 2011 - 24 downloads

Other Available Downloads

Source Code AppBarUtils 1.0 RC 2 Source.zip
source code, 191K, uploaded Sep 7, 2011 - 14 downloads

Release Notes

Ninth release.

AppBarItemTrigger and AppBarItemBehavior now come with a DisplayText property. It enables you to bind the Text property of app bar button/menu item to your view model. Here's how to use it:

<i:Interaction.Triggers>
    <AppBarUtils:AppBarItemTrigger ItemType="Button" ItemText="sync" IsEnabled="{Binding HasData}"
                                                     DisplayText="{Binding SyncButtonDisplayText}" >
        <ec:CallMethodAction MethodName="Sync" TargetObject="{Binding}"/>
    </AppBarUtils:AppBarItemTrigger>
</i:Interaction.Triggers>

The difference between ItemText and DisplayText is that the former is used only to find the target app bar item while the latter is used to bind the Text property to your view model. But it doesn't limit the binding to your view model. Because DisplayText is a dependency property, you can take advantange of the Binding markup extension. Typically you will get benefit from this property when supporting multi-language in your app.

Note, Windows Phone SDK 7.1 RC is required. For Windows Phone Developer Tools 7.0, please use the related behaviors provided by Prism instead.

Reviews for this release

No reviews yet for this release.