Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Color Name of Brush

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

    Color Name of Brush

    How can I find the Name of a Brush object?

    Lets for instance say I have a Brush variable that is of type Brushes.Red. How can I find "Red"?

    #2
    Hello richt3,

    Unfortunately, there are not any NinjaScript methods that would get a brushes name.

    This may or may not be possible using unsupported and undocumented code. There can be limitations using unsupported code and advanced C# concepts in a NinjaScript, so your mileage may vary. As of now, we do not have any examples that can be used to navigate that path.

    This thread will remain open for any community members that may know of unsupported code to achieve this and would like to share.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    245 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    157 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    165 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    250 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    201 views
    0 likes
    Last Post CarlTrading  
    Working...
    X