Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Property understanding

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

    Property understanding

    Hello, can anyone give me a hint where I can finde some information about the parameter setting in the property section. I do not have a problem to add a new parameter but it is rather "dumb" copying...

    In particular I would like to understand what

    [Description("")]
    [GridCategory("Parameters")]

    stands for.

    Thanks

    #2
    Originally posted by phadreus View Post
    Hello, can anyone give me a hint where I can finde some information about the parameter setting in the property section. I do not have a problem to add a new parameter but it is rather "dumb" copying...

    In particular I would like to understand what

    [Description("")]
    [GridCategory("Parameters")]

    stands for.

    Thanks
    They are attributes. You can assign any attributes that you want to a property. If you do not want to assign them, then don't.

    Those particular attributes are self-explanatory. The "Description" is the attribute where you describe the property. That is what shows up in the PropertyGrid, so that the end user can know what the property is and does; the "GridCategory" is determining in which group on the PropertyGrid to place the property. i.e., it is used for grouping related properties if you want to so group them.

    Comment


      #3
      Hello phadreus,

      Thank you for your note.

      You can find information at the following link: http://www.ninjatrader.com/support/f...ead.php?t=5782

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by cupir2, Today, 07:44 PM
      0 responses
      4 views
      0 likes
      Last Post cupir2
      by cupir2
       
      Started by reynoldsn, Today, 07:23 AM
      6 responses
      19 views
      1 like
      Last Post reynoldsn  
      Started by reynoldsn, Today, 07:26 PM
      0 responses
      4 views
      0 likes
      Last Post reynoldsn  
      Started by ETFVoyageur, 05-07-2024, 07:05 PM
      12 responses
      79 views
      0 likes
      Last Post bltdavid  
      Started by Haiasi, 04-25-2024, 06:53 PM
      5 responses
      76 views
      0 likes
      Last Post alancurry  
      Working...
      X