IIntervalProvider Interface

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Add On >

IIntervalProvider Interface

Previous page Return to chapter overview Next page

When creating your NTTabPage, if you wish to use the interval link, be sure to implement the IIntervalProvider interface.





public class MyWindowTabPage : NTTabPage, IIntervalProvider


    public MyWindowTabPage()


        /* Define the content for our NTTabPage. We can load loose XAML to define controls and layouts

        if we so choose here as well.


         Note: XAML with event handlers defined inside WILL FAIL when attempted to load.

         Note: XAML with "inline code" WILL FAIL when attempted to load */



    // IIntervalProvider member

    public BarsPeriod BarsPeriod { get; set; }


    // Be sure to include all the required NTTabPage members as well