Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
425
DisplayName attribute ignored by BindingList<t> property
posted

Hi.

I am binding my class to the Ultra Tree in my multi language application. I use the DisplayName-Attribute for translate the properties in this class but i have the problem, that my BindingList<t> properties with other sub classes ignores that attribute. After binding i have tried to rename the nodes manually but this was been automaticaly reseted. How can i translate the BindingList<t> properties?

Thanks for help

Sven

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi Sven,

    Does this work for other controls? For example, if you bind your DataSource to the Microsoft DataGridView control, does it show the DisplayName? If so, then I'd consider this a bug in the tree.

    Anyway, what exactly are you trying to change the display name of? I assume you mean the column headers, since you mentioned properties. You should be able to set the HeaderCaption of each column in your ColumnSet. There's no reason why the tree should be re-setting it, unless you are doing something like re-binding the tree.

Children