<Window x:Class="WexEventTrigger.Demo.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:wexdemo="clr-namespace:Wex.Lib.Demo.Views.Demos" Title="Wex Demo" Height="303" Width="491"> <Grid x:Name="LayoutRoot"> <ScrollViewer HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"> <TabControl TabStripPlacement="Left" x:Name="LinksStackPanel" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" Margin="2" Padding="10" > <TabItem x:Name="Link1" Padding="3" Header="Simple EventTrigger Demo" > <StackPanel> <TextBlock TextWrapping="Wrap" Text="Shows how to invoke events, based on conditions" Margin="3" /> <wexdemo:EventTrigger/> </StackPanel> </TabItem> <TabItem x:Name="Link2" Padding="3" Header="Simple PropertyTrigger Demo" > <StackPanel> <TextBlock TextWrapping="Wrap" Text="Shows how to invoke property triggers, based on conditions" Margin="3" /> <wexdemo:PropertyTrigger/> </StackPanel> </TabItem> <TabItem x:Name="Link3" Header="Simple Invoke Method Demo"> <StackPanel> <TextBlock TextWrapping="Wrap" Text="Shows how to invoke a method, and pass the parameters, based on conditions" Margin="3" /> <wexdemo:InvokeMethod /> </StackPanel> </TabItem> <TabItem x:Name="Link4" Header="Simple Invoke Command Demo"> <StackPanel> <TextBlock TextWrapping="Wrap" Text="Shows how to invoke a command, and pass the parameters, based on conditions" Margin="3" /> <wexdemo:InvokeCommand /> </StackPanel> </TabItem> <TabItem x:Name="Link5" Header="Story Board Action Demo"> <StackPanel> <TextBlock TextWrapping="Wrap" Text="Shows how to use Slex StoryBoardAction" Margin="3" /> <wexdemo:StoryBoardAction/> </StackPanel> </TabItem> <TabItem x:Name="Link6" Header="Reactive Trigger Example"> <StackPanel> <TextBlock TextWrapping="Wrap" Text="Shows how to use a reactive trigger" Margin="3" /> <wexdemo:ReactiveTrigger/> </StackPanel> </TabItem> <TabItem x:Name="Link7" Header="PropertyAction Example (Set)"> <StackPanel> <TextBlock TextWrapping="Wrap" Text="Shows how to set a property" Margin="3" /> <wexdemo:SetPropertyAction/> </StackPanel> </TabItem> <TabItem x:Name="Link8" Header="ConditionalTriggers Example (Set)"> <StackPanel> <TextBlock TextWrapping="Wrap" Text="Shows how to use conditional triggers" Margin="3" /> <wexdemo:ConditionalTriggers/> </StackPanel> </TabItem> </TabControl> </ScrollViewer> </Grid> </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 article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)