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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    92 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    138 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    122 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    73 views
    0 likes
    Last Post PaulMohn  
    Working...
    X