How can I add nested item through xaml?

Grids for WPF Forum

Posted 11 years ago by RredCat - Ukraine
Version: 4.5.0487
Avatar
Hi,

How can I realize a logic presented in Notify Parent Property sample through XAML?:

any like next

<propgrid:PropertyGridCategoryItem DisplayName="Position" >
            <propgrid:PropertyGridPropertyItem ValueName = "Cell" >
                <propgrid:PropertyGridPropertyItem ValueName = "Row" Value="0" />
                <propgrid:PropertyGridPropertyItem ValueName = "Column" Value="0" />
            </propgrid:PropertyGridPropertyItem>
</propgrid:PropertyGridCategoryItem>

Comments (1)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
We don't currently support adding custom sub-properties like you specify above. Currently, sub-properties are retrieved if from the property value, if it is expandable. I've added a note to our TODO list to see about allowing custom sub-properties.

We do support sub-categories though, so you could change your Cell entry to be a PropertyGridCategoryItem (but then the Cell entry will not be editable).


Actipro Software Support

The latest build of this product (v2019.1 build 0685) was released 12 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.