Mega Code Archive

 
Categories / C# / WPF
 

Frame background, TabControl background

<Window     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     x:Class="Microsoft.Samples.Graphics.Transforms.SampleViewer"     Title="Transformations"     xmlns:my="clr-namespace:Microsoft.Samples.Graphics.Transforms"     xmlns:examples="Microsoft.Samples.Graphics.Transforms">   <DockPanel Background="White">     <TabControl Background="White"  BorderBrush="Orange">            <TabItem Header="Transform Example">         <Frame Background="White" Source="TransformExample.xaml">         </Frame>       </TabItem>         <TabItem Header="RotateTransform Example">         <Frame Background="White" Source="RotateTransformExample.xaml">         </Frame>       </TabItem>                <TabItem Header="ScaleTransform Example">         <TabControl>           <TabItem Header="Basic Examples">             <Frame Background="White" Source="ScaleTransformExample.xaml" />           </TabItem>          <TabItem Header="Animation Example">             <Frame Background="White" Source="AnimatedScaleTransformExample.xaml" />           </TabItem>                 </TabControl>       </TabItem>              <TabItem Header="SkewTransform Example">         <TabControl>           <TabItem Header="Basic Examples">             <Frame Background="White" Source="SkewTransformExample.xaml" />           </TabItem>          <TabItem Header="Animation Example">             <Frame Background="White" Source="AnimatedSkewTransformExample.xaml" />           </TabItem>                 </TabControl>               </TabItem>                <TabItem Header="TranslateTransform Example">         <Frame Background="White" Source="TranslateTransformExample.xaml">         </Frame>       </TabItem>                     <TabItem Header="Interactive MatrixTransform Example">         <Frame Background="White" Source="InteractiveMatrixTransformExample.xaml">         </Frame>       </TabItem>                    <TabItem Header="TransformCollection Example">         <Frame Background="White" Source="TransformCollectionExample.xaml">         </Frame>       </TabItem>                 </TabControl>   </DockPanel> </Window>