• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 HiddenPhilosopher, Yesterday, 11:58 PM
    0 responses
    2 views
    0 likes
    Last Post HiddenPhilosopher  
    Started by glennts, Yesterday, 08:24 PM
    2 responses
    13 views
    0 likes
    Last Post bltdavid  
    Started by ibabinov, 11-12-2019, 09:50 AM
    3 responses
    66 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Started by PrimoItch, 05-27-2020, 04:35 PM
    2 responses
    18 views
    0 likes
    Last Post bkonia
    by bkonia
     
    Started by RuthB, 05-29-2020, 09:41 PM
    2 responses
    19 views
    0 likes
    Last Post RuthB
    by RuthB
     
    Working...
    X