Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Serializable SolidColorBrush ??

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

    Serializable SolidColorBrush ??

    Hi guys,
    I am used to using the v7 NinjaTrader.Gui.Design.SerializableColor methods to be able to create color inputs in indicators and strategies.
    In v8, SolidColorBrush seems to be the go for that, but is there a way to serialize them?
    If not, and Color would be a better choice, where could I find the serialization methods for that?
    I searched the documentation but serializable yields no results.

    Thanks,
    saltminer

    #2
    Hello saltminer,

    Thank you for your inquiry.

    The NinjaTrader 8 help guide does provide information on how to utilize a Brush as a user defined property. This information can be found in the Brushes page linked here: http://ninjatrader.com/support/helpG...s/?brushes.htm

    The section you'd want to look under is "Saving a Brush as a user defined property (Serialization)" on this page.

    Please, let us know if we may be of further assistance.
    Zachary G.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    139 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    295 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    240 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    337 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    172 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X