Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add user defined report sample with margins support
- Loading branch information
1 parent
32f4f69
commit 95f8775
Showing
4 changed files
with
126 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | ||
<Grid Margin="10"> | ||
<Grid.RowDefinitions> | ||
<RowDefinition Height="Auto" /> | ||
<RowDefinition Height="Auto" /> | ||
</Grid.RowDefinitions> | ||
<Border Grid.Row="0" Background="#FF7F7F" Margin="0" Width="300" BorderBrush="#C00000" BorderThickness="2,2,2,0" CornerRadius="16,16,0,0"> | ||
<DockPanel Margin="10"> | ||
<TextBlock DockPanel.Dock="Left" HorizontalAlignment="Left" Text="Bug " FontSize="13pt" FontWeight="Bold" /> | ||
<TextBlock Name="Id" DockPanel.Dock="Left" HorizontalAlignment="Left" Text="Id" FontSize="13pt" FontWeight="Bold" /> | ||
<StackPanel Orientation="Vertical"> | ||
<DockPanel HorizontalAlignment="Right"> | ||
<TextBlock DockPanel.Dock="Left" HorizontalAlignment="Right" Text="Priority: " FontSize="8pt"/> | ||
<TextBlock Name="Field_Backlog_Priority" DockPanel.Dock="Right" HorizontalAlignment="Left" Text="Backlog Priority" FontSize="8pt" /> | ||
</DockPanel> | ||
<DockPanel HorizontalAlignment="Right"> | ||
<TextBlock DockPanel.Dock="Left" HorizontalAlignment="Right" Text="Parent: " FontSize="8pt"/> | ||
<TextBlock Name="ParentId" DockPanel.Dock="Right" HorizontalAlignment="Left" Text="ParentId" FontSize="8pt" /> | ||
</DockPanel> | ||
</StackPanel> | ||
</DockPanel> | ||
</Border> | ||
<Border Grid.Row="1" Margin="0" Width="300" BorderBrush="#C00000" BorderThickness="2,0,2,2" CornerRadius="0,0,16,16"> | ||
<StackPanel> | ||
<TextBlock Name="Title" Margin="10,5,10,0" Text="Title" TextWrapping="Wrap" Height="50" FontSize="13pt"/> | ||
<TextBlock Name="Field_Repro_Steps" Margin="10,0" Text="Repro Steps" TextWrapping="Wrap" Height="110" FontSize="10pt" TextTrimming="CharacterEllipsis"/> | ||
<StackPanel Margin="10,0" Orientation="Horizontal"> | ||
<DockPanel> | ||
<TextBlock DockPanel.Dock="Left" HorizontalAlignment="Left" Text="Estimate: " FontSize="14pt" /> | ||
<TextBlock Name="Field_Effort" Text="Effort" FontSize="14pt" /> | ||
<TextBlock DockPanel.Dock="Right" HorizontalAlignment="Right" Text="Assigned To:" FontSize="14pt" Margin="70,0,10,0" /> | ||
</DockPanel> | ||
</StackPanel> | ||
<StackPanel Margin="10,5" Orientation="Horizontal"> | ||
<DockPanel Margin="0,0,5,0"> | ||
<TextBlock Name="Field_IterationPath" DockPanel.Dock="Left" HorizontalAlignment="Left" Text="IterationPath" FontSize="11pt" /> | ||
</DockPanel> | ||
</StackPanel> | ||
</StackPanel> | ||
</Border> | ||
</Grid> | ||
</UserControl> |
39 changes: 39 additions & 0 deletions
39
reports/UserDefinedSampleWithMargins/Product Backlog Item.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | ||
<Grid Margin="10"> | ||
<Grid.RowDefinitions> | ||
<RowDefinition Height="Auto" /> | ||
<RowDefinition Height="Auto" /> | ||
</Grid.RowDefinitions> | ||
<Border Grid.Row="0" Background="#B9CDE5" Margin="0" Width="300" BorderBrush="#385D8A" BorderThickness="2,2,2,0" CornerRadius="16,16,0,0"> | ||
<DockPanel Margin="10"> | ||
<TextBlock DockPanel.Dock="Left" HorizontalAlignment="Left" Text="Backlog Item " FontSize="13pt" FontWeight="Bold" /> | ||
<TextBlock Name="Id" DockPanel.Dock="Left" HorizontalAlignment="Left" Text="Id" FontSize="13pt" FontWeight="Bold" /> | ||
<StackPanel Orientation="Vertical"> | ||
<DockPanel HorizontalAlignment="Right"> | ||
<TextBlock DockPanel.Dock="Left" HorizontalAlignment="Right" Text="Priority: " FontSize="8pt"/> | ||
<TextBlock Name="Field_Backlog_Priority" DockPanel.Dock="Right" HorizontalAlignment="Left" Text="Backlog Priority" FontSize="8pt" /> | ||
</DockPanel> | ||
<DockPanel HorizontalAlignment="Right"> | ||
<TextBlock DockPanel.Dock="Left" HorizontalAlignment="Right" Text="Parent: " FontSize="8pt"/> | ||
<TextBlock Name="ParentId" DockPanel.Dock="Right" HorizontalAlignment="Left" Text="ParentId" FontSize="8pt" /> | ||
</DockPanel> | ||
</StackPanel> | ||
</DockPanel> | ||
</Border> | ||
<Border Grid.Row="1" Margin="0" Width="300" BorderBrush="#385D8A" BorderThickness="2,0,2,2" CornerRadius="0,0,16,16"> | ||
<StackPanel> | ||
<TextBlock Name="Title" Margin="10,5,10,0" Text="Title" TextWrapping="Wrap" Height="50" FontSize="13pt" /> | ||
<TextBlock Name="Description" Margin="10,0" Text="Description" TextWrapping="Wrap" Height="110" FontSize="10pt" TextTrimming="CharacterEllipsis"/> | ||
<StackPanel Margin="10,0" Orientation="Horizontal"> | ||
<TextBlock Name="Field_Effort" Text="Effort" FontSize="14pt" /> | ||
<TextBlock Text=" points" FontSize="14pt" /> | ||
</StackPanel> | ||
<StackPanel Margin="10,5" Orientation="Horizontal"> | ||
<DockPanel Margin="0,0,5,0"> | ||
<TextBlock Name="Field_IterationPath" DockPanel.Dock="Left" HorizontalAlignment="Left" Text="IterationPath" FontSize="11pt" /> | ||
</DockPanel> | ||
</StackPanel> | ||
</StackPanel> | ||
</Border> | ||
</Grid> | ||
</UserControl> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | ||
<Grid Margin="10"> | ||
<Grid.RowDefinitions> | ||
<RowDefinition Height="Auto" /> | ||
<RowDefinition Height="Auto" /> | ||
</Grid.RowDefinitions> | ||
<Border Grid.Row="0" Background="#FFDF7F" Margin="0" Width="300" BorderBrush="#FFC000" BorderThickness="2,2,2,0" CornerRadius="16,16,0,0"> | ||
<DockPanel Margin="10"> | ||
<TextBlock DockPanel.Dock="Left" HorizontalAlignment="Left" Text="Task " FontSize="13pt" FontWeight="Bold" /> | ||
<TextBlock Name="Id" DockPanel.Dock="Left" HorizontalAlignment="Left" Text="Id" FontSize="13pt" FontWeight="Bold" /> | ||
<StackPanel Orientation="Vertical"> | ||
<DockPanel HorizontalAlignment="Right"> | ||
<TextBlock DockPanel.Dock="Left" HorizontalAlignment="Right" Text="Priority: " FontSize="8pt"/> | ||
<TextBlock Name="Field_Backlog_Priority" DockPanel.Dock="Right" HorizontalAlignment="Left" Text="Backlog Priority" FontSize="8pt" /> | ||
</DockPanel> | ||
<DockPanel HorizontalAlignment="Right"> | ||
<TextBlock DockPanel.Dock="Left" HorizontalAlignment="Right" Text="Parent: " FontSize="8pt"/> | ||
<TextBlock Name="ParentId" DockPanel.Dock="Right" HorizontalAlignment="Left" Text="ParentId" FontSize="8pt" /> | ||
</DockPanel> | ||
</StackPanel> | ||
</DockPanel> | ||
</Border> | ||
<Border Grid.Row="1" Margin="0" Width="300" BorderBrush="#FFC000" BorderThickness="2,0,2,2" CornerRadius="0,0,16,16"> | ||
<StackPanel> | ||
<TextBlock Name="Title" Margin="10,5,10,0" Text="Title" TextWrapping="Wrap" Height="50" FontSize="13pt" /> | ||
<TextBlock Name="Description" Margin="10,0" Text="Description" TextWrapping="Wrap" Height="110" FontSize="10pt" TextTrimming="CharacterEllipsis"/> | ||
<StackPanel Margin="10,0" Orientation="Horizontal"> | ||
<DockPanel> | ||
<TextBlock DockPanel.Dock="Left" HorizontalAlignment="Left" Text="Estimate: " FontSize="14pt" /> | ||
<TextBlock Name="Field_Remaining_Work" Text="Remaining Work" FontSize="14pt" /> | ||
<TextBlock DockPanel.Dock="Right" HorizontalAlignment="Right" Text="Assigned To:" FontSize="14pt" Margin="70,0,10,0" /> | ||
</DockPanel> | ||
</StackPanel> | ||
<StackPanel Margin="10,5" Orientation="Horizontal"> | ||
<DockPanel Margin="0,0,5,0"> | ||
<TextBlock Name="Field_IterationPath" DockPanel.Dock="Left" HorizontalAlignment="Left" Text="IterationPath" FontSize="11pt" /> | ||
</DockPanel> | ||
</StackPanel> | ||
</StackPanel> | ||
</Border> | ||
</Grid> | ||
</UserControl> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<userdefinedreport description="User Defined Report Sample" width="8.27" height="11.69" leftmargin="10" rightmargin="10" topmargin="10" bottommargin="10"> | ||
</userdefinedreport> |