Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Hiding Ninjatrader Superdom control in SuperDom Window

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

    Hiding Ninjatrader Superdom control in SuperDom Window

    Hello:

    I have seen some software that hides the superdom control in the SuperDom window and I am trying to achieve the same.

    I tried with snoop and if I set the column size of the grid to 0 and MinSize to 0 I can do it. I also saw this example AddOn to add buttons to superdom window this way

    Code:
    var sd = window as NinjaTrader.Gui.SuperDom.SuperDom;
    
    if (sd == null) { return; }
    
    ///So SuperDomWindow is the Parent and we are assiging it to a SuperDom Object.
    var xSuperDom = sd.FindFirst("SuperDOMWindow") as NinjaTrader.Gui.SuperDom.SuperDom ;
    
    if(xSuperDom==null) return;
    ///Creating SuperDomControl Object, which is the space inside the superdom.
    
    //Assiging our SuperDomControl object the AutomationID inside our xSuperDom SuperDom object. ///FindFirst finds the automation ID.
    var xSDControl =xSuperDom.FindFirst("SuperDOMControl") as NinjaTrader.Gui.SuperDom.SuperDomControl ;
    I noticed the control name is "grdLadders" but cannot find it with FindFirst I wonder what would be the proper way.

    Regards

    #2
    This is the example I was fiddling with https://ninjatraderecosystem.com/use...s-to-superdom/

    Comment


      #3
      Hello waldoalvarez,

      There isn't anything documented or supported, but it's WPF and you can pretty much alter it as you would like.

      These may give you some ideas, but use MSInspect to identify objects and remove them.
      https://ninjatrader.com/support/foru...07#post1124507
      Chelsea B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mubeen Haider, Today, 08:11 AM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by ChainsawDR, Yesterday, 12:55 PM
      0 responses
      11 views
      0 likes
      Last Post ChainsawDR  
      Started by lismartin, Yesterday, 03:30 PM
      3 responses
      17 views
      0 likes
      Last Post NinjaTrader_Jim  
      Started by RT001, Yesterday, 03:47 PM
      4 responses
      27 views
      0 likes
      Last Post RT001
      by RT001
       
      Started by johnMoss, Yesterday, 10:40 PM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X