Ticket T302998
Visible to All Users

PropertyGrid collection editor shows additional properties

created 9 years ago

Hi,

I have 2 property grid related questions:

  1. When binding to an ObservableCollection<DateTime>, after adding a few DateTime objects to the collection in the UI, the Count property suddenly appears within the collection editor field. How can i restrict the collection editor to show the DateTime objects only?

  2. How can i set the collection editor field to be expanded by default? Right now it is collapsed by default.

Please, use the attached example to reproduce the issues above.

Answers approved by DevExpress Support

created 9 years ago

Hi,

Our team is dedicated to addressing all your concerns. For quick and efficient responses, we kindly request that future tickets cover one issue at a time. Your time and cooperation are appreciated.

In order to better serve and track multiple questions in your inquiry, we have taken the liberty of separating the issues you addressed. Please refer to these tickets for further correspondence on these items.

  1. T303064: How to forbid PropertyGridControl to show undeclared properties
  2. T303065: How to make a collection property expanded by default

Thanks,
Andrey

    Comments (2)

      i'll keep it in mind for the future. thanks.

      Andrey K (DevExpress Support) 9 years ago

        You are welcome!

        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.