Telerik UI for Windows Phone by Progress

Using the DataFieldStyle property

The DataFieldStyleProperty can be used to apply a style to all data fields currently created in RadDataForm. The following code snippet demonstrates how setting a custom Margin and a Border to all Data Fields in RadDataForm is done:

    <Style TargetType="telerikDataForm:DataFormField">
        <Setter Property="BorderBrush" Value="{StaticResource PhoneAccentBrush}"/>
        <Setter Property="BorderThickness" Value="3"/>

The telerikDataForm XAML namespace points to Telerik.Windows.Controls.DataForm.

The ValidationInfoMessageStyle property can be used to style the validation messages displayed in RadDataForm. All validation messages are displayed in a ContentControl and the style used to it should target this type.