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