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 Aviram Y, Today, 05:29 AM
    0 responses
    1 view
    0 likes
    Last Post Aviram Y  
    Started by quantismo, 04-17-2024, 05:13 PM
    3 responses
    25 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by ScottWalsh, 04-16-2024, 04:29 PM
    7 responses
    34 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by cls71, Today, 04:45 AM
    0 responses
    6 views
    0 likes
    Last Post cls71
    by cls71
     
    Started by mjairg, 07-20-2023, 11:57 PM
    3 responses
    216 views
    1 like
    Last Post PaulMohn  
    Working...
    X