mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-09 23:43:28 +02:00
Initial WPF content migrated (#17)
* 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
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user