Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Where are they ... ?

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

    Where are they ... ?

    I'm looking to add different kind of control onto the Chart trader toolbar.

    In order to keep a consistent look, I want to use the default styling from ninjatrader. I undestood it was very simple for a button using:

    Code:
    Style basicButtonStyle    = Application.Current.FindResource("BasicEntryButton") as Style;
    But then, how do I find default styling for radio buttons, checkboxes and all other stuff ?

    #2
    Hello Philippe56140,

    When using basic controls you generally won't need to apply a specific style, the style is automatically controlled by the skin. The code you provided would get a specific style that was already defined for a certain control which is the basic entry button. You can see the examples on the following forum post which show some controls being used without applying specific styles that allow the skin to style them automatically.

    Hello All, Moving forward this will be maintained in the help guide reference samples and no longer maintained on the forum. Creating Chart WPF (UI) Modifications from an Indicator - https://ninjatrader.com/support/help...ui)-modifi.htm (https://ninjatrader.com/support/helpGuides/nt8/creating-chart-wpf-(ui)-modifi.htm) I've


    For controls that are not used in the platform you would need to add your own styles by defining how they look in code when you create the control.



    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    579 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    334 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    554 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    551 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X