Home Forums WPF controls Xceed DataGrid for WPF DataCell label

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #24671 |

    Is there a propery that I can use to set the label for a DataCell?

    I’ve got a cardview and I set the FieldName property to the name of the field in the database and that renders as the label, but our fields in our database aren’t user friendly and so I need to override those with my own.

    I have used a template to turn off the label that the cardview generates using the FieldName property and jsut used a WPF label control, but there isn’t a good way to align the label with the datacell.

    Is there a propery that I can use to set the label for a DataCell?

    Imported from legacy forums. Posted by brent (had 407 views)

    User (Old forums)
    Member
    Post count: 23064

    Have you try Title property at the Column. I haven’t used CardView before but guess that it should work the same way as TableView.

    Imported from legacy forums. Posted by nat (had 382 views)

    User (Old forums)
    Member
    Post count: 23064

    Yep, thank you very much.

    Imported from legacy forums. Posted by brent (had 3207 views)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.