Silverlight provides a great set of controls, with which you can capture and display data. While the properties for the controls can be assigned directly to each control, in our .XAML file using attributes, some properties can be duplicated among different controls, causing difficulties in our .XAML maintenance.Here is an example of this issue.
<Button x:Name=”btnSubmit” FontFamily=”Arial”
FontWeight=”Bold” Width=”100″ Height=”25″ Margin=”10″ />
<Button x:Name=”btnCancel” FontFamily=”Arial”
FontWeight=”Bold” Width=”100″ Height=”25″
Margin=”10″ />You can see that both controls define the same value for FontFamily, FontWeight, Width, Height and Margin. Maybe this XAML works...