Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

UserControlCollection Rendering

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

    UserControlCollection Rendering

    Apply the below UserControlCollection example

    http://ninjatrader.com/support/helpG...collection.htm

    Minimize the chart a bit so that it's a small window.. Click anywhere in the chart's title/header bar to drag the chart around the screen.. The UserControlCollection completely disappears while the left mouse click is held down..

    Is this expected behavior?


    -=Edge=-
    NinjaTrader Ecosystem Vendor - High Tech Trading Analysis

    #2
    Hello Edge,

    I'll need to check with our development to see if this is expected behavior.

    My thoughts are, the buttons have no need to be recalculated on each pass of OnRender as they don't move with the chart or resize with the chart. The chart, when resized, is a static bitmap image that doesn't contain the buttons. So we may just be seeing this bitmap until the chart renders again when the mouse comes up and thats when you'll see the drawings on the chart update and the buttons re-appear.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_ChelseaB View Post
      I'll need to check with our development to see if this is expected behavior.
      Was this determined as expected behavior?


      -=Edge=-
      NinjaTrader Ecosystem Vendor - High Tech Trading Analysis

      Comment


        #4
        Hello Edge,

        Thank you for your patience.

        Yes, our development has let me know this behavior is expected.
        When resizing, the DirectX rendering area has a snapshot taken of it. This is superimposed over the chart as the resize takes place, covering the layer with WPF elements.

        I've submitted a feature request on your behalf for development to code this in a way that the WPF elements are included with the snapshot. It is up to development to decide if and when a request will be implemented.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hello Edge,

          I've received a tracking ID for your request. Your request to render the UserControlCollection WPF layer with the SharpDX layer of the chart is being tracked with ID #SFT-1897.

          Please let me know of any other requests or suggestions you have for the NinjaTrader platform.
          Chelsea B.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by MatthewLesko, Yesterday, 11:13 PM
          0 responses
          4 views
          0 likes
          Last Post MatthewLesko  
          Started by Lance El Camino, Yesterday, 04:14 PM
          1 response
          13 views
          0 likes
          Last Post s.kinra
          by s.kinra
           
          Started by jtrading82, Yesterday, 04:56 PM
          1 response
          10 views
          0 likes
          Last Post NinjaTrader_ShawnB  
          Started by dmking, Yesterday, 06:00 PM
          1 response
          6 views
          0 likes
          Last Post NinjaTrader_EricB  
          Started by WHICKED, Yesterday, 03:23 PM
          1 response
          16 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Working...
          X