Edit this page

Custom Display Names

The names behind each of the descriptor items are extracted from the data-bound object. RadDataFilter exposes the PropertyDisplayNameNeeded event providing means for customizing the displayed name of a field.

Figure 1: Custom Display Names

datafilter-customizing-appearance-custom-display-names 001

PropertyDisplayNameNeeded Event

private void RadDataFilter1_PropertyDisplayNameNeeded(object sender, PropertyDisplayNameNeededEventArgs e)
    if (e.FieldName == "BirthDay")
        e.DisplayName = "Birth Day";

Private Sub RadDataFilter1_PropertyDisplayNameNeeded(sender As Object, e As PropertyDisplayNameNeededEventArgs)
    If e.FieldName = "Birth Day" Then
        e.DisplayName = "Birth Day"
    End If
End Sub

See Also

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article