|
<Application x:Class="UsingContentControl.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
StartupUri="Window1.xaml">
<Application.Resources>
<ControlTemplate x:Key="Decorator" TargetType="ContentControl">
<StackPanel Orientation="Vertical" >
<Label>Foo</Label>
<ContentPresenter />
<Label>Bar</Label>
</StackPanel>
</ControlTemplate>
</Application.Resources>
</Application>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Ivan is a hands-on software architect/technical lead working for Thomson Reuters in the New York City area. At present I am mostly building complex multi-threaded WPF application for the financial sector, but I am also interested in cloud computing, web development, mobile development, etc.
Please visit my web site:
www.ikriv.com.