mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-07 07:56:07 +02:00
* Reset branch for WPF changes * Convert BMP to PNG; fix link-out-of-scope err * Add snippets for WPF... 6794 files!!!! * Add missing snippets * update file updated between migration * Fix paths to include * update breadcrumb and toc * fix index links * fix index links * fix index links * fix markdown
25 lines
1.2 KiB
XML
25 lines
1.2 KiB
XML
<Window.Resources>
|
|
<!-- Data Template (applied to each bound task item in the task collection) -->
|
|
<DataTemplate x:Key="myTaskTemplate">
|
|
<Border Name="border" BorderBrush="DarkSlateBlue" BorderThickness="2"
|
|
CornerRadius="2" Padding="5" Margin="5">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition />
|
|
</Grid.ColumnDefinitions>
|
|
<TextBlock Grid.Row="0" Grid.Column="0" Padding="0,0,5,0" Text="Task Name:"/>
|
|
<TextBlock Grid.Row="0" Grid.Column="1" Text="{Binding Path=TaskName}"/>
|
|
<TextBlock Grid.Row="1" Grid.Column="0" Padding="0,0,5,0" Text="Description:"/>
|
|
<TextBlock Grid.Row="1" Grid.Column="1" Text="{Binding Path=Description}"/>
|
|
<TextBlock Grid.Row="2" Grid.Column="0" Padding="0,0,5,0" Text="Priority:"/>
|
|
<TextBlock Grid.Row="2" Grid.Column="1" Text="{Binding Path=Priority}"/>
|
|
</Grid>
|
|
</Border>
|
|
</DataTemplate>
|
|
</Window.Resources> |