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 BraisedInBlue, Today, 06:43 AM
          0 responses
          4 views
          0 likes
          Last Post BraisedInBlue  
          Started by AaronKoRn, Today, 06:28 AM
          0 responses
          3 views
          0 likes
          Last Post AaronKoRn  
          Started by pjsmith, Today, 01:00 AM
          1 response
          12 views
          0 likes
          Last Post NT-Roland  
          Started by alejandro888, Yesterday, 08:41 PM
          0 responses
          9 views
          0 likes
          Last Post alejandro888  
          Started by UltraNIX, Today, 02:14 AM
          0 responses
          9 views
          0 likes
          Last Post UltraNIX  
          Working...
          X