Home Forums WPF controls Xceed DataGrid for WPF How to get Cells manual in a DataGridControl

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

    Hello,
    How is it possible make a cell (fill different attributes from my BL) and add this cell to my DataGridControl at a Place (in a row and column) where i want it to have.
    Without normal Databinding.

    Thanks for all requests.

    MS

    Imported from legacy forums. Posted by Marc (had 413 views)

    User (Old forums)
    Member
    Post count: 23064

    I depends how you want to do it – in XAML or in C#.
    In C# there is the good example in Documentation:
    ms-help://Xceed.Wpf.DataGrid/Documentation/Xceed.Wpf.DataGrid~Xceed.Wpf.DataGrid.DataGridCollectionView.html
    In Xaml you can set AutoCreateColumns to false and in ColumnCollection for Grid name all your attributes. Also, you can create DataTemplate and do work there.
    Look in Examples that Xceed provides.
    Good Luck! Lena

    Imported from legacy forums. Posted by Lena (had 2680 views)

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