|
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
xmlns:local="clr-namespace:DialogBehaviorApp"
x:Class="DialogBehaviorApp.MainWindow"
Title="DialogBehavior"
Height="300"
Width="300">
<StackPanel>
<Button Content="Display invoice" Command="{Binding Path=DisplayInvoice, Mode=OneTime}"/>
<TextBlock Text="{Binding Path=Status}"/>
</StackPanel>
<i:Interaction.Behaviors>
<local:OpenDialogBehavior/>
</i:Interaction.Behaviors>
</Window>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.