Hello,
I would like to handle double click of property grid row so that execute some process.
Is is possible?
I had tried to handle PropertyGrid.MouseDoubleClick.
However, it fires when double click on header/scrollbar of property grid.
Hello,
I would like to handle double click of property grid row so that execute some process.
Is is possible?
I had tried to handle PropertyGrid.MouseDoubleClick.
However, it fires when double click on header/scrollbar of property grid.
Hello,
The default PropertyGridItem container element generated for items in the PropertyGrid has an OnDoubleTapped override with our default functionality. When the click is over the name cell, it will cycle to the next "standard value" (enums, etc.) if possible, or move focus into the value cell.
If you want to override that logic, you could make a class that inherits PropertyGridItem, and overrides OnDoubleTapped with your own logic. Then create a class that overrides PropertyGrid with:
protected override DependencyObject GetContainerForItemOverride() {
return new MyPropertyGridItem();
}
Thanks!
I could handle double click of PropertyGridItem. (PropertyGridItem.OnDoubleTapped)
Please log in to a validated account to post comments.