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

DynamicResource not Updating When Used With Properties of GridViewColumn

Environment

Product RadGridView for WPF
Version 2024.3.924

Description

DynamicResource setting on properties (like Header) of the Telerik GridViewColumn is not updated when the associated resource is changed.

    <telerik:GridViewDataColumn Header="{DynamicResource Key1}">

Solution

To resolve this use a TextBlock element as the Header of RadGridView and use the DynamicResource keyword with its Text property.

    <telerik:GridViewDataColumn>
        <telerik:GridViewDataColumn.Header>
            <TextBlock Text="{DynamicResource Key1}" />
        </telerik:GridViewDataColumn.Header>
    </telerik:GridViewDataColumn>
In this article