Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Locate and use custom NinjaTrader resources

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

    Locate and use custom NinjaTrader resources

    I'm trying to develop my own NT8 Add-On, and am trying to replicate a grid to look like the NT8 grids in the command center. How would I be able to find the colors, fonts, and resources such as the connection icon to use? Thanks!

    #2
    Hello ethanguh,

    Most controls that you use in an addon should already be styled based on the skin that the platform is using. Items like the platforms icons are something which is built into the applications resources so those items would not be able to be used directly, if you wanted to recreate a connect icon you could use images or define icons in code. You can see an example of creating custom icons here: https://ninjatrader.com/support/help...stom_icons.htm

    If you manually configure a style on a control or set it to null that will prevent the skins settings from being applied. Not all WPF controls may have a style, it would only be for items that are used in the platform currently.

    The data grids that NinjaTrader uses are not WPF data grids, those are from infragistics however I am not aware of any sample of using those controls from an Addon or NinjaScript.

    Comment


      #3
      Thank you for the response. Is there any way that I could get a sample of how the data grids from infragistics are used in Ninjascript?

      Comment


        #4
        Hello ethanguh,

        Unfortunately there is currently no documentation for that and I am unaware of any samples. That is technically considered unsupported at this time however you can research using infragistics controls in external resources that you may find online. You would have to reference the infragistics dll from the program files NinjaTrader 8 folder before being able to use those controls. I am unaware if there are any issues surrounding compiling/export/import when using that reference so that would be something you could experiment with.

        I would suggest using the native WPF controls like the DataGrid or you can also look for other opensource C# projects on places like github. You can reference any C# .net framework dlls so you could also use any external WPF for .net project as long as you place the dll file in the Documents\NinjaTrader 8\bin\Custom and reference it from there.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        558 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        324 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        545 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        547 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X