Click here to Skip to main content
15,886,919 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Subscribing to the PropertyChangedEventHandler of a class in a List from the class holding the List (solved, sort of...) Pin
SledgeHammer0114-Sep-14 9:41
SledgeHammer0114-Sep-14 9:41 
GeneralRe: Subscribing to the PropertyChangedEventHandler of a class in a List from the class holding the List (solved, sort of...) Pin
GuyThiebaut14-Sep-14 10:06
professionalGuyThiebaut14-Sep-14 10:06 
QuestionWPF Reporting Pin
Kevin Marois9-Sep-14 11:21
professionalKevin Marois9-Sep-14 11:21 
AnswerRe: WPF Reporting Pin
Christian Amado10-Sep-14 5:14
professionalChristian Amado10-Sep-14 5:14 
GeneralRe: WPF Reporting Pin
Kevin Marois15-Oct-14 6:26
professionalKevin Marois15-Oct-14 6:26 
AnswerRe: WPF Reporting Pin
Pete O'Hanlon10-Sep-14 5:57
mvePete O'Hanlon10-Sep-14 5:57 
GeneralRe: WPF Reporting Pin
Kevin Marois21-Oct-14 5:56
professionalKevin Marois21-Oct-14 5:56 
GeneralRe: WPF Reporting Pin
Pete O'Hanlon21-Oct-14 6:05
mvePete O'Hanlon21-Oct-14 6:05 
It uses XAML so it doesn't have a designer. That wasn't a requirement in your list. To be honest, the XAML is nice and clean. This is the sample Image report:
XML
<FlowDocument xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
              xmlns:xrd="clr-namespace:CodeReason.Reports.Document;assembly=CodeReason.Reports"
              xmlns:xrbc="clr-namespace:CodeReason.Reports.Document.Barcode;assembly=CodeReason.Reports"
              PageHeight="29.7cm" PageWidth="21cm" ColumnWidth="21cm">
    <xrd:ReportProperties>
        <xrd:ReportProperties.ReportName>ImageReport</xrd:ReportProperties.ReportName>
        <xrd:ReportProperties.ReportTitle>Image Report</xrd:ReportProperties.ReportTitle>
    </xrd:ReportProperties>
    <xrd:SectionReportHeader PageHeaderHeight="2" Padding="10,10,10,0" FontSize="12">
        <Table CellSpacing="0">
            <Table.Columns>
                <TableColumn Width="*" />
                <TableColumn Width="*" />
            </Table.Columns>
            <TableRowGroup>
                <TableRow>
                    <TableCell>
                        <Paragraph>
                            <xrd:InlineContextValue PropertyName="ReportTitle" />
                        </Paragraph>
                    </TableCell>
                    <TableCell>
                        <Paragraph TextAlignment="Right">
                            <xrd:InlineDocumentValue PropertyName="PrintDate" Format="dd.MM.yyyy HH:mm:ss" />
                        </Paragraph>
                    </TableCell>
                </TableRow>
            </TableRowGroup>
        </Table>
    </xrd:SectionReportHeader>
    <xrd:SectionReportFooter PageFooterHeight="2" Padding="10,0,10,10" FontSize="12">
        <Table CellSpacing="0">
            <Table.Columns>
                <TableColumn Width="*" />
                <TableColumn Width="*" />
            </Table.Columns>
            <TableRowGroup>
                <TableRow>
                    <TableCell>
                        <Paragraph>
                        </Paragraph>
                    </TableCell>
                    <TableCell>
                        <Paragraph TextAlignment="Right">
                            Page
                            <xrd:InlineContextValue PropertyName="PageNumber" FontWeight="Bold" /> of
                            <xrd:InlineContextValue PropertyName="PageCount" FontWeight="Bold" />
                        </Paragraph>
                    </TableCell>
                </TableRow>
            </TableRowGroup>
        </Table>
    </xrd:SectionReportFooter>
    <Section Name="ReportBody" Padding="80,10,40,10" FontSize="12">
        <Paragraph FontSize="24" FontWeight="Bold"><xrd:InlineContextValue PropertyName="ReportTitle" /></Paragraph>
        <Paragraph>This is an image report example.</Paragraph>
        <Paragraph FontSize="16" FontWeight="Bold">
            Static Image
        </Paragraph>
        <Paragraph>
            <Image Tag="dpd.jpg" Width="10cm" />
        </Paragraph>
        <Paragraph FontSize="16" FontWeight="Bold">
            Dynamically created Images
        </Paragraph>
        <Paragraph>
            <Image Name="imageDynamic1" Width="5cm" Height="5cm" />
            <Image Name="imageDynamic2" Width="5cm" Height="5cm" />
        </Paragraph>
    </Section>
</FlowDocument>

GeneralRe: WPF Reporting Pin
Kevin Marois21-Oct-14 6:16
professionalKevin Marois21-Oct-14 6:16 
GeneralRe: WPF Reporting Pin
Pete O'Hanlon21-Oct-14 6:18
mvePete O'Hanlon21-Oct-14 6:18 
GeneralRe: WPF Reporting Pin
Kevin Marois21-Oct-14 6:20
professionalKevin Marois21-Oct-14 6:20 
AnswerRe: WPF Reporting Pin
Duncan Edwards Jones21-Oct-14 5:59
professionalDuncan Edwards Jones21-Oct-14 5:59 
AnswerRe: WPF Reporting Pin
Pete O'Hanlon21-Oct-14 7:45
mvePete O'Hanlon21-Oct-14 7:45 
AnswerRe: WPF Reporting Pin
Richard J Foster22-Oct-14 5:55
Richard J Foster22-Oct-14 5:55 
AnswerRe: Textblock with autoscrolling Pin
Richard Deeming5-Sep-14 5:24
mveRichard Deeming5-Sep-14 5:24 
QuestionWPF TreeView ToolTip Problems Pin
Kevin Marois4-Sep-14 7:51
professionalKevin Marois4-Sep-14 7:51 
AnswerRe: WPF TreeView ToolTip Problems Pin
SledgeHammer016-Sep-14 9:04
SledgeHammer016-Sep-14 9:04 
GeneralRe: WPF TreeView ToolTip Problems Pin
Kevin Marois8-Sep-14 5:56
professionalKevin Marois8-Sep-14 5:56 
GeneralRe: WPF TreeView ToolTip Problems Pin
SledgeHammer018-Sep-14 7:20
SledgeHammer018-Sep-14 7:20 
QuestionImport ResourceDictionary from a different assembly Pin
BrunoORMaia3-Sep-14 4:12
BrunoORMaia3-Sep-14 4:12 
QuestionIssue in converting jpeg to vector image in XAML format Pin
Deep Kulshrestha2-Sep-14 4:11
Deep Kulshrestha2-Sep-14 4:11 
QuestionWPF Tab Control, template tabs, dynamic generation Pin
Maxime Gavet-Marqués1-Sep-14 5:36
Maxime Gavet-Marqués1-Sep-14 5:36 
AnswerRe: WPF Tab Control, template tabs, dynamic generation Pin
Pete O'Hanlon1-Sep-14 6:37
mvePete O'Hanlon1-Sep-14 6:37 
GeneralRe: WPF Tab Control, template tabs, dynamic generation Pin
Maxime Gavet-Marqués1-Sep-14 21:53
Maxime Gavet-Marqués1-Sep-14 21:53 
GeneralRe: WPF Tab Control, template tabs, dynamic generation Pin
Pete O'Hanlon1-Sep-14 22:04
mvePete O'Hanlon1-Sep-14 22:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.