Hello,
I am evaluating the NetAdvantage WPF 2011.2
How can I get XamGrid or XamDataGrid to honor the Name property of the DisplayAttribute set on my data properties?I would like the grid column header text set to the columns bound properties friendly name.
Thanks.
Hello Amilcar,
After some research, it seems a similar product idea has already been submitted here:
http://ideas.infragistics.com/forums/192363-wpf/suggestions/5026628-add-data-annotations-support-for-xamdatagrid-as-is
As a member of the Infragistics Community you can vote for the features and suggestions you want to see added to the products, resulting in the most popular features bubbling up to the top. When planning new releases, our Product Management team will look at the most popular features and use your feedback to prioritize upcoming work.
There are many benefits to submitting/ voting for an idea through UserVoice:
- Communicate directly with our product management team. They'll see the idea described in your words and respond to you personally.
- Receive notifications whenever new information regarding your idea becomes available.
- Vote on your favorite product ideas to let us know which ones are the most important to you.
- You and other developers can discuss existing product ideas with members of our Product Management team.
Thank you for your request.
Hey Guys,
I apologize for bringing up an old thread but has this feature been added? If not, is there a suggested way to specify the order of the columns when auto generating the fields? My model has a base class and I want the base class fields to show up first - they show up after the inheriting class' fields.
Thank you in advance.
HI Rob,
I created a feature request PI 12060107 for this issue.
Sincerely,
Matt Developer Support Engineer
I believe the original post was referring to DisplayAttributes, e.g.
[DisplayAttribute(Order = 2, Name="ROGA")]
public Double ROGA { get { return ROGA; } }
It looks like your SilverLight grids do:- http://community.infragistics.com/forums/p/43405/292285.aspx
"You need to add a reference to InfragisticsSL4.Data.AnnotationsDataManager.v11.1.dll;"
When can we expect WPF to pick these up?
HI,
I am just following up on this post. Plesae let me know if you need further assistance.
Sincerely, MattDeveloper Support Engineer