Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Is there a way to put public properties in sequential order?

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

    Is there a way to put public properties in sequential order?

    Say I wanted to number some public properties so that they aren't all mixed up

    Example:

    01. public int SMAPeriod { get; set; }

    02. public int WMAPeriod { get; set; }

    03. public int EMAPeriod { get; set; }

    Instead of the properties being organized alphabetically

    public int EMAPeriod { get; set; }

    public int SMAPeriod { get; set; }

    public int WMAPeriod { get; set; }

    #2
    You can use the "Order =" part of the display attributes to sequence exactly how you wish: https://ninjatrader.com/support/help...yattribute.htm

    Comment


      #3
      Thanks for the reply!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      236 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      150 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      162 views
      1 like
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      243 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      198 views
      0 likes
      Last Post CarlTrading  
      Working...
      X