Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Xaml Grid for an Addon Window

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Xaml Grid for an Addon Window

    I have an Add-on that that has been evolved mainly from the "AddOnShellNoTabs" example provided by the NT support team.(Thanks).
    in the application I am developing it has two sections with different format of data. the first section has 5 columns (even distributed) and 7rows. the second part has 8colums even distributed and 13 rows.
    The questions are:
    a) Is it better/easier to have two XAML grids? in the same Add-on?.
    b) Is it better (is possible?) to modify the second part of the grid to suit the number of columns needed?
    c) Do you have maybe an example where i can start from?

    Thank you very much!!!
    FVJ


    #2
    Hello, thanks for writing in.

    I do not know of an existing example that implements two grids. Typically an application will have 1 main grid then have sub-grids within the main grid. This is sided more on the C# side of things rather than the NinjaScript library. There are many resources for working in WPF grid controls e.g. the complete WPF tutorial:
    https://wpf-tutorial.com/panels/grid-rows-and-columns/ (publicly available)

    Best regards,
    -ChrisL
    Last edited by NinjaTrader_ChrisL; 12-01-2021, 02:21 PM.

    Comment


      #3
      efeuvejota01 There are many possibilities, of course. However, the suggestion of NinjaTrader_ChrisL to use one main grid and then have sub-grids would work well for the requirements you describe. The main grid would have just two cells, it seems. Then within each of those cells, define your other grids accordingly.

      Thanks.
      Multi-Dimensional Managed Trading
      jeronymite
      NinjaTrader Ecosystem Vendor - Mizpah Software

      Comment


        #4
        Thank You very much!!!!

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        583 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        338 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        554 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        552 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X