Skinned Application Sample

This sample illustrates how to implement an application that supports dynamically-swappable skins. Building the Sample Install the Windows Software Development Kit (SDK) and open its build environment command window.

 
 
 
 
 
5 Star
(1)
11,589 times
Add to favorites
2/1/2011
E-mail Twitter del.icio.us Digg Facebook
<Window x:Class="SDKSample.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Main Window" 
    Height="300" 
    Width="300"
    >
  <StackPanel>
    <Button Name="newChildWindowButton" Click="newChildWindowButton_Click">New ChildWindow</Button>
    <StackPanel Orientation="Horizontal">
      <Label>Skin:</Label>
      <ComboBox Name="skinComboBox">
      </ComboBox>
    </StackPanel>
  </StackPanel>
</Window>