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 Mindset, 04-21-2026, 06:46 AM
          0 responses
          55 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          72 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          38 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          99 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          60 views
          0 likes
          Last Post PaulMohn  
          Working...
          X