Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Formating Values in Property Grid

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

    Formating Values in Property Grid

    Is there a quick way to format the appearance of the values that appearin the Property Grid? For example, if I have an input that is a type double and set it to 2, it appears as 2 in the Property Grid. I would like it to appear as 2.0. I know how to do this via a TypeConverter but it seems an overkill for such a simple thing as this. Any suggestions would be greatly appreciated. Thank you.

    #2
    Hello Zeos6,

    This would require the use of a type converter.

    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      Thanks for letting me know AllanP. Appreciate it.Using a TypeConverter for this is a bit of an overkill but I get it. Thanks.

      Comment


        #4
        Originally posted by Zeos6 View Post
        Thanks for letting me know AllanP. Appreciate it.Using a TypeConverter for this is a bit of an overkill but I get it. Thanks.
        Use a non-browsable, dummy property, converting to and from string?
        Last edited by koganam; 09-07-2017, 07:31 AM.

        Comment


          #5
          Thanks Koganam.That's a great idea and will probably work best. I don't really need the machinery of a TypeConverter for this.Will give it a go.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          597 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          343 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          103 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          556 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          555 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X