CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2016
    Posts
    2

    Post declarative harachy build

    How to use declarative harachy building when any harrachy level can be updated in ****** wpf grid.

  2. #2
    Join Date
    May 2016
    Posts
    4

    Re: declarative harachy build

    Quote Originally Posted by andlat View Post
    How to use declarative harachy building when any harrachy level can be updated in ****** wpf grid.
    I tried this code with my ****** gridcontrol and this event driven data model works equally well or without any harrachies.

    C#

    Row rowCategory = grid.Rows.Add(new string[] { "Some category" });
    rowCategory.Expanded = true;

    Product product1 = new Product("Product 1");
    Product product2 = new Product("Product 2");

    ...

    BindingList<Order> orders = new BindingList<Order>();
    orders.Add(new Order(product1, 123.32, 15));
    orders.Add(new Order(product2, 110.11, 54));

    ...
    rowCategory.ItemsSource = orders;

  3. #3
    Join Date
    Feb 2011
    Location
    United States
    Posts
    1,016

    Re: declarative harachy build

    Hello,

    You have made a number of similar posts that seem to be (thinly) disguised ads for your product. Forum rules allow you to make one product announcement in the Announcements forum, but please stop posting this sort of thing elsewhere.

    Thanks!

    [Thread Closed]
    Best Regards,

    BioPhysEngr
    http://blog.biophysengr.net
    --
    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured