Xaml frame on a Tab : Frame « Windows Presentation Foundation « C# / C Sharp






Xaml frame on a Tab

Xaml frame on a Tab
       
<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    x:Class="Microsoft.Samples.Graphics.UsingVisualBrush.SampleViewer"
    Title="VisualBrush Sample">

  <DockPanel Background="White">
  
    <TabControl Name="sampleSelector" Background="White" BorderBrush="Orange">

      <TabItem Header="Painting with Visuals" >
        <Frame Source="PaintingWithVisuals.xaml" Background="White" />            
      </TabItem>
      <TabItem Header="Magnifying Glass Example" >
        <Frame Source="MagnifyingGlassExample.xaml" Background="White" />            
      </TabItem>     
      <TabItem Header="Reflection Example" >
        <Frame Source="ReflectionExample.xaml" Background="White" />            
      </TabItem>       
    </TabControl> 
  </DockPanel>


</Window>

   
    
    
    
    
    
    
  








Related examples in the same category

1.Use Frame to Load another Xaml file
2.Frame Navigation Demo Window
3.Use a Frame control to navigate to Web pages and a Extensible Application Markup Language (XAML) page.Use a Frame control to navigate to Web pages and a Extensible Application Markup Language (XAML) page.
4.Put a Frame tag onto a Window to host a page
5.Navigate Frame to a xaml document
6.Navigate Frame to a URLNavigate Frame to a URL