User Profile

Collapse

Profile Sidebar

Collapse
marrylugard
marrylugard
Last Activity: May 4 '16, 10:21 AM
Joined: May 4 '16
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • marrylugard
    replied to Declarative hierarchy building
    If you are using Dapfor Wpf Grid, Truly this code written in C# will perform for you as you required. But still try it on other platform.

    C#
    Code:
    //The author 
    class Author 
    { 
        public Author(string name) 
        { 
            Books = new List<Book>(); 
            Name = name; 
        } 
    
        public IList<Book> Books { get; private set; } 
        public string Name { get;
    ...
    See more | Go to post
    Last edited by Rabbit; May 4 '16, 04:02 PM. Reason: Please use [code] and [/code] tags when posting code or formatted data.

    Leave a comment:


  • marrylugard
    replied to Binding Row object to collection
    I use Dapfor Wpf gridcontrol and it is simplified for users. Base on your question try using this code and it would help.


    C#
    Code:
    private void OnGridControlLoaded(object sender, EventArgs e) 
    { 
        Row row1 = grid.Rows.Add(new object[] { 200, null, "item 1" });
        Row row2 = grid.Rows.Add(new MyCustomClass(33, 33.33, "item 2"));
    
        //Create a collection of custom objects
    ...
    See more | Go to post
    Last edited by Rabbit; May 4 '16, 03:59 PM. Reason: Please use [code] and [/code] tags when posting code or formatted data.

    Leave a comment:

No activity results to display
Show More
Working...