This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi- There are times when I need to declare an object's data member as a public property for data binding purposes (other than the property grid.) However, I don't want that property displayed, as a row, in the property grid when the object is the GridObject. Is there a way to disable the display of some properties in the grid. Like a null PropertyEditor or something? Thanks. Tom Mininger |
|
|
Hi Tom, If you mark a property with the [Browsable(false)] attribute it will not be displayed. If you need a more dynamic approach, or cannot modify the definition of the object being displayed, set PropertyGrid.BindingView.DefaultView.Filter and implement your display logic as a predicate. |
|