<TextBlock x:Class="wpf2.FieldLabel" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Foreground="Red"> </TextBlock>
<TextBlock x:Class="wpf2.FieldLabel" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Foreground="Red"> </TextBlock> <TextBox x:Class="wpf2.FieldTextBox" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Foreground="Blue"> </TextBox>So, how can I have multiple sub-classes in a file? Do I have to create one file for each sub-classed control?