Bug Report T627990
Visible to All Users

Hidden layout items are displayed in the Customization Form at runtime

created 7 years ago

Hello,

I want to to hide some layout items from various users and display them to other users (depending on their privileges).  In a grid column, i can set the VisibleForCustomization property to false.  Is there an equivalent property for a layout item?

Greg

Comments (3)
DevExpress Support Team 7 years ago

    Hello.

    The Visible property of any dxLayoutControl Item allows us to control these Items' visibility on a Form. This property also should influence their visibility in CustomizationForm while customizing dxLayoutControl. But, now I see that Layout Items whose Visible property is switched off are still displayed in CustomizationForm. So we plan to fix this issue in the near future.

    GK GK
    Gregory Kopriva 7 years ago

      This has been an issue for years…  Do you have any timeline?

      DevExpress Support Team 7 years ago

        Hello Gregory,

        We do not have a certain time frame for now. You will receive an automatic notification once the status of this issue is changed.

        Answers approved by DevExpress Support

        created 7 years ago (modified 7 years ago)

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          Comments (3)
          GK GK
          Gregory Kopriva 7 years ago

            Paulo,

            I noticed that with this release, if i change the "Visible" property to FALSE for a layout item it does not appear in the Customize window.  I like that.  What property is there that let's me know if an item is "visible" in the layout control as opposed to just being available in the Customize window?

            Thanks so much.

            Greg

            DevExpress Support Team 7 years ago

              Hello Greg,

              The item's Visible property now determines this item's visibility both on the Customization form and in the Layout Control container. If you wish to check if a certain item resides in the Customization Form's "Available Items" list, check the item's Parent property. This property is nil for items that are not in the Layout Control container.

              GK GK
              Gregory Kopriva 7 years ago

                Awesome - thanks

                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.