본문 바로가기

.NET/WPF

WPF 기초 StackPanel 사용과 <FlowDocumentReader> <FlowDocument> <Paragraph> <Paragraph.FontFamily> <Paragraph.FontSize> <Bold> <LineBreak />

반응형




<Page
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <DockPanel LastChildFill="True">
    <TextBlock DockPanel.Dock="Top" Background="White" TextBlock.FontFamily="Verdana" TextBlock.FontSize="48" VerticalAlignment="Center">
      <Image Source="http://www.oreilly.com/images/oreilly/oreilly.gif" Width="287" Height="67"/>
    </TextBlock>
    <TextBlock DockPanel.Dock="Bottom" Background="DarkRed" Foreground="White">
      &#169; 2007 O'Reilly Media, Inc. All trademarks and regustered trademarks appearing on oreilly.com are the property of their respective owners.
    </TextBlock>
    <StackPanel DockPanel.Dock="Left" VerticalAlignment="Center" Margin="5" >
      <Image Source="http://www.oreilly.com/catalog/covers/059652921X_cat.gif" Height="223" Width="180"/>
    </StackPanel>
    <FlowDocumentReader>
      <FlowDocument>
       
      </FlowDocument>
    </FlowDocumentReader>
  </DockPanel>
</Page>





    <FlowDocumentReader>
      <FlowDocument>
        <Paragraph>
          <Bold>
          
          </Bold>
        </Paragraph>
        <Paragraph>
          <Paragraph.FontFamily>Verdana</Paragraph.FontFamily>
          <Paragraph.FontSize>18</Paragraph.FontSize>
          <Bold>Getting Started with .NET 3.</Bold>
        </Paragraph>
        <Paragraph>
          <Paragraph.FontFamily>Verdana</Paragraph.FontFamily>
          <Paragraph.FontSize>18</Paragraph.FontSize>
          By Jesse Liberty and Alex Horovitz <LineBreak />
          September 2006 <LineBreak />
          Pages : 56 <LineBreak />
        </Paragraph>
         <Paragraph>
          Learn how to create more dynamic user experiences and build secure web servies using
          Windows Communication Foundation(WCF) and Windows Presentation Foundation(WPF),
          Two of the foundational pillars of .NET 3.0,
          with this succinct and well-written PDF document.
         </Paragraph>
      </FlowDocument>
    </FlowDocumentReader>


- 출처  Programming .Net 3.5 by Jesse Liberty and Alex Horovitz. (소수 수정)