Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
75
How to show infinity symbol
posted

Hi all,

is it possible to display the infinity symbol ("laying 8") in a text or numeric editor if I pass in e.g. double.MaxValue (or MinValue)?

The same would go for grids: is it possible to display those symbols in grids somehow?

Best regards,

Matthias

Parents
  • 469350
    Offline posted

    Hi Matthias,

    If there is a font that supports the infinity symbol, then you could do this using a DataFilter to translate double.MaxValue into infinity and vice versa. I'm not sure if there is such a font, or if the infinity symbol is  an ascii character.

    If not, then what I would do is use a DrawFilter to draw the symbol yourself - maybe using an image. But this would only work when the editor is not in edit mode.

     

Reply Children