New to Telerik UI for WPF? Start a free 30-day trial

Customizing DataForm Elements

Updated on Nov 25, 2026

The RadDataForm control in Progress® Telerik® UI for WPF supports styles for the form and its elements. This article covers styles for the form, its collection navigator, and its data fields.

Style the RadDataForm

Create an implicit style targeting RadDataForm to style the form. Alternatively, give the style an x:Key and assign it to the control's Style property.

The following example defines an implicit style for RadDataForm:

XAML
<Window.Resources>
    <!-- If you are using the NoXaml binaries, you should base the style on the default one like so:-->
    <!--<Style TargetType="telerik:RadDataForm" BasedOn="{StaticResource RadDataFormStyle}">-->
    <Style TargetType="telerik:RadDataForm">
        <Setter Property="Background" Value="Pink" />
        <Setter Property="BorderBrush" Value="Yellow" />
        <Setter Property="BorderThickness" Value="3" />
    </Style>
</Window.Resources>
<Grid>
    <telerik:RadDataForm AutoGenerateFields="True" />
</Grid>

RadDataForm with a custom style in the Office2016 theme

RadDataForm with a custom style in the Office2016 theme

Style the CollectionNavigator

The CollectionNavigator hosts the buttons for navigating, adding, editing, and deleting items. To style it, create an implicit style targeting CollectionNavigator.

The following example defines an implicit style for CollectionNavigator:

XAML
<Window.Resources>
    <!-- If you are using the NoXaml binaries, you should base the style on the default one like so:-->
    <!--<Style TargetType="dataForm:CollectionNavigator" BasedOn="{StaticResource CollectionNavigatorStyle}">-->
    <Style xmlns:dataForm="clr-namespace:Telerik.Windows.Controls.Data.DataForm;assembly=Telerik.Windows.Controls.Data"
                  TargetType="dataForm:CollectionNavigator">
        <Setter Property="Background" Value="Red" />
        <Setter Property="BorderBrush" Value="Green" />
        <Setter Property="BorderThickness" Value="3" />
    </Style>
</Window.Resources>
<Grid>
    <telerik:RadDataForm AutoGenerateFields="True" />
</Grid>

CollectionNavigator with a custom style in the Office2016 theme

CollectionNavigator with a custom style in the Office2016 theme

Style the Data Fields

DataFormDataField is the base class for the form's fields. Other field types include DataFormComboBoxField, DataFormCheckBoxField, and DataFormDateField.

To style the fields, create a style targeting DataFormDataField and assign it to the RadDataForm control's DataFieldStyle property. The following example defines the style:

XAML
<Window.Resources>
    <!-- If you are using the NoXaml binaries, you should base the style on the default one like so:-->
    <!--<Style x:Key="DataFormDataFieldStyle" TargetType="telerik:DataFormDataField" BasedOn="{StaticResource DataFormDataFieldStyle}">-->

    <Style x:Key="DataFormDataFieldStyle" TargetType="telerik:DataFormDataField">
        <Setter Property="Background" Value="Red" />
    </Style>
</Window.Resources>
<Grid>
    <telerik:RadDataForm AutoGenerateFields="True" DataFieldStyle="{StaticResource DataFormDataFieldStyle}" />
</Grid>

RadDataForm with a custom DataFieldStyle in the Office2016 theme

RadDataForm with a custom DataFieldStyle in the Office2016 theme

See Also