Bug Report T1029777
Visible to All Users

Organize Members - The Organize Members engine can’t detect the event handler if its subscription is in an another file

created 3 years ago

According to this page in the Documentation,
we should be able to sort/group event handlers using Organize Members

https://docs.devexpress.com/CodeRushForRoslyn/401439/examples/organize-members/how-to-group-event-handlers-and-wrap-them-into-a-region

However, it only works for me with the in-code defined methods, not the once that are referenced in the .designer.cs WinForms Designer events.

Clipboard-File-1.png

See Image.
Expected behavior: btnOrder_Click, gridViewArticles_* etc. are also wrapped together with the other Event Handlers (bindingList_, repArticleSearch_)

The difference is that the detected Event Handlers are defined directly in Code in the main .cs file.

Comments (1)
DevExpress Support Team 3 years ago

    Hello Markus,
    Thank you for the report. I reproduced the problem. Please bear with us. We will fix it soon.

    Answers approved by DevExpress Support

    created 3 years ago

    We have addressed the issue described in this ticket and will include a fix in our next maintenance update. Should you need to apply our fix prior to official release, you can request a hotfix here.

    Note: Hotfixes may be unavailable for betas/updates set for release within a week.

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.