Hi, I have this property.
[Display(Name = "Codigo EAN-UCC", Description = "Codigo EAN-UCC para recaudos por codigo de barras", GroupName = "Tesoreria")]
public string TESORERIA_CODEANUCC
{ get { return (Get() == null ? "" : (string)Get()); } set { Set(value); RaisePropertyChanged(); } }
How can I capture the 'Description', 'GroupName', or 'Name' labels to save them in a field or display them on the screen in a message?
I don't know if the question is well formulated, I accept modifications
It's not simple but you could use it
Reflection
to access the property's attributesUsing Custom Attributes in C# - By David Clegg
You will see that it first gets the properties that you could perhaps filter using linq if necessary.
and then get the attributes
so you could iteral and access its value
Maybe you should build another object to dump the data that you then use to bind in xaml