• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SuperDom Control Type

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

    SuperDom Control Type

    Hi, I'm trying to modify the superdom to suit my needs.

    Can the NT8 team tell whats the control used in superdom, is a listview, listbox, datagrid or something custom but based on something that I can use for.

    I've tried to use the listview with a gridview inside, but I am facing some performance issues.

    Thanks in advance.

    #2
    Hello vargaslucas,

    Thanks for your post, and welcome to the forums!

    Using the Microsoft Inspect tool we can see that SuperDOM is a custom control. As for making your own modifications, you could treat the SuperDOM control as a grid and then find a grid within that grid to then add/remove rows and controls.

    We have an example on our EcoSystem User App Share that demonstrates how modifications to the SuperDOM window can be done from the context of an AddOn. WPF modifications are technically unsupported since an internal change may break the modifications, however, if you have any other questions on what can be done, we will be happy to assist you further.

    Add Buttons to SuperDOM - https://ninjatraderecosystem.com/use...s-to-superdom/

    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

    I've also included some information on using the Inspect tool which can be useful for obtaining Automation IDs for NinjaTrader controls.

    Video on using Inspect: https://www.screencast.com/t/AyyNpE2NyE

    Windows SDK: https://developer.microsoft.com/en-u...indows-8-1-sdk

    Further information on Inspect can be found here: [url]https://msdn.microsoft.com/en-us/library/windows/desktop/dd318521(v=vs.85).aspx

    Please let us know if we can be of further assistance.
    JimNinjaTrader Customer Service

    Comment


      #3
      Thank you Jim for the quick answer.

      I'm using this listview with and observableCollection binded to it, but when the market gets too fast, my addon window just get stuck.

      I saw that the superdom don't updated that quickly too, specially on the opening, it gets a little laggy.

      I guess I'll try to optimize the way that a I update my list, right now I get updates from 3 different events, MarketDepth, MarketData and BarsUpdate.

      Thank you again Jim, have a nice day.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by StevenNelson, Today, 04:07 PM
      2 responses
      7 views
      0 likes
      Last Post StevenNelson  
      Started by Matthew Spositi, Today, 03:28 PM
      2 responses
      5 views
      0 likes
      Last Post Matthew Spositi  
      Started by faisamtrader, Today, 01:30 PM
      2 responses
      19 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Started by idangre, 12-08-2016, 10:37 AM
      3 responses
      546 views
      0 likes
      Last Post NinjaTrader_Kate  
      Started by priceisking, Today, 11:30 AM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X