Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Customize resources or parameters

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

    Customize resources or parameters

    I need to customize some things in my plugin, using a resource file or similar.

    Can I use Application.Current.FindResource? Is it customizable?

    Thanks​

    #2
    Hello Powerbucker,

    What specifically are you trying to do?

    The FindResource can be used for NinjaTrader resources that already exist, that would not be able to be used for custom resources.

    Comment


      #3
      I need to customize or parameterize some features of my addon, but I don't want to use addon parameters. Is there a concept of a configuration file or something similar?

      Comment


        #4
        Hello Powerbucker,

        I am not sure what you are referring to by the description, if you can provide a specific example of what you are trying to achieve that would help.

        If you mean to save a value in an addon you would use the IWorkspacePersistence interface and use the Save and Load overrides to save values in the workspace or load values from the workspace. Any other type of save/load would be up to you to control using C# code. Resources in C# are compiled items like an image or a C# style that is compiled into an assembly so that would not be useful for adon parameters or a configuration file, you would likely be best off just making a text file and reading it from code if you want a config file.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        553 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        324 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        100 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        543 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        546 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X