<Page x:Class="Test.UnloadedManager.TestPages.UnloadedManagerPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:jas="clr-namespace:WPF.JoshSmith.ServiceProviders.UI;assembly=WPF.JoshSmith" xmlns:local="clr-namespace:Test.UnloadedManager" Title="UnloadedManagerPage" > <Page.Resources> <DataTemplate DataType="{x:Type local:ImageInfo}"> <Image Source="{Binding Image}" jas:UnloadedManager.IsManaged="True" Width="100" Height="120" /> </DataTemplate> </Page.Resources> <Grid> <Grid.RowDefinitions> <RowDefinition /> <RowDefinition Height="Auto" /> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition /> <ColumnDefinition /> </Grid.ColumnDefinitions> <DockPanel> <TextBlock Text="ListBox of Images" DockPanel.Dock="Top" FontSize="13" /> <ListBox Name="listBoxImages" /> </DockPanel> <DockPanel Grid.Column="1" > <TextBlock Text="Resource Log" DockPanel.Dock="Top" FontSize="13" /> <ListBox Name="listBoxLog" /> </DockPanel> <Button Name="btnClearLog" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Center" Margin="0,4" VerticalAlignment="Center">Clear Log</Button> </Grid> </Page>
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)