Forums

IsDefaultVisibility on AccessSpecifiedElement stopped working in DXCore 2.2.2.

Last post 5/28/2007 10:53 AM by Dustin Campbell. 4 replies.
Sort Posts: Previous Next
  • Joel F

    IsDefaultVisibility on AccessSpecifiedElement stopped working in DXCore 2.2.2.

    5/23/2007 3:08 AM
    • Top 500 Contributor
    • Joined on 5/23/2007
    • Posts 61

    Hi,

    The property IsDefaultVisibility on AccessSpecifiedElement doesn't behave the same way it used to in 2.1.3. Now it always seems to report true, before it reported false when you had explicitly set the visibility on a member.

     Why? Surprise 

    Thanks!

     / Joel

     

  • Dustin Campbell

    Re: IsDefaultVisibility on AccessSpecifiedElement stopped working in DXCore 2.2.2.

    5/23/2007 9:06 AM
    • Top 10 Contributor
    • Joined on 5/2/2007
    • Posts 5,550

    Joel F:
    The property IsDefaultVisibility on AccessSpecifiedElement doesn't behave the same way it used to in 2.1.3. Now it always seems to report true, before it reported false when you had explicitly set the visibility on a member.

    Hi Joel,

    Thanks for the report. We're taking a look at this now.
     

    Best Regards,
    Dustin Campbell
    Developer Express Inc.
    Microsoft C# MVP
  • Alex Eg (DevExpress)

    Re: IsDefaultVisibility on AccessSpecifiedElement stopped working in DXCore 2.2.2.

    5/25/2007 9:22 AM
    • Top 75 Contributor
    • Joined on 4/23/2007
    • Posts 376
    Hi, Joel
     This bug is fixed for the next release.

    --
    Thanks, Alex Eg
     
    R&D, IDE Team Developer Express Inc.
     
    PS. If you wish to receive direct assistance from our Support Team, use
    Support Center at http://www.devexpress.com/Support/Center
    Please take a look at our Knowledge Base at: http://www.devexpress.com/kb.
    It contains useful information on our products that may save time.

    http://community.devexpress.com/forums/thread/184403.aspx

  • Joel F

    Re: IsDefaultVisibility on AccessSpecifiedElement stopped working in DXCore 2.2.2.

    5/27/2007 2:37 PM
    • Top 500 Contributor
    • Joined on 5/23/2007
    • Posts 61

    Hi Alex,

    Thanks for informing me that it really is a bug and that it will be solved in the next release, but when is that?

    I´m depending on a working DXCore for my Code Style Enforcer plug-in, and right now this property makes Code Style Enforcer work really bad. Alot of users have complained about this after upgrading from DXCore 2.1.3 to 2.2.2. It seems really strange how something as trivial to test as this can go through your unit tests, but I guess we are all humans after all Big Smile.

    I can of course make an ugly workaround for the moment, but I rather not, since the whole point with using DXCore is to have a reliable and stable framework at the bottom layer. So please let me know when I can expect a fix for this, so that I in my turn can inform the users of Code Style Enforcer about this.

  • Dustin Campbell

    Re: IsDefaultVisibility on AccessSpecifiedElement stopped working in DXCore 2.2.2.

    5/28/2007 10:53 AM
    • Top 10 Contributor
    • Joined on 5/2/2007
    • Posts 5,550

    Joel F:
    Thanks for informing me that it really is a bug and that it will be solved in the next release, but when is that?

    As I'm sure that you know, it's difficult to estimate release dates and, as a company policy, we don't do it. We do plan on getting a new release out soon to fix several known issues, but the term "soon" is a bit relative I'm afraid.

    Joel F:
    I can of course make an ugly workaround for the moment, but I rather not, since the whole point with using DXCore is to have a reliable and stable framework at the bottom layer. So please let me know when I can expect a fix for this, so that I in my turn can inform the users of Code Style Enforcer about this.

    While not ideal, here's a method that you can use to check this value in your plug-in:

    bool IsDefaultVisibility(AccessSpecifiedElement element)
    {

      if (element == null)

        return false;

      return element.VisibilityRange.IsEmpty;
    }

    Using that should correct the problem for you until the next release. We sincere apologize for this inconvenience.

    Best Regards,
    Dustin Campbell
    Developer Express Inc.
    Microsoft C# MVP
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.