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 maybeimnotrader, Yesterday, 05:46 PM
    1 response
    18 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Perr0Grande, Yesterday, 08:16 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by f.saeidi, Yesterday, 08:12 AM
    3 responses
    25 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by algospoke, Yesterday, 06:40 PM
    1 response
    15 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by quantismo, Yesterday, 05:13 PM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X