Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

hiding property

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

    hiding property

    Hi,
    I have a simple property that is designed to only be used by other indicators/strategies. As such, I don't want it displayed in the property grid of my indicator. Is there some attribute I can set or way to hide it from the grid?
    I tried removing the grid category, but it just shows it in a new category called "Misc"
    Thanks ... Ed

    [XmlIgnore()]
    [Description(
    "Is First Zone Set")]
    public bool IsFirstZoneSet
    {
    get { return m_bFirstZoneSet; }
    set { m_bFirstZoneSet = value; }
    }

    #2
    Hi Ed, did you try the [Browsable(false)] attribute to not show in the grid?

    Comment


      #3
      That did it! Thanks!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      574 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      333 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
      553 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