Hello again :)
How is it possible to show an icon (e.g. delete/edit) at the end of a row, when the mouse is over the row.
Please see attached screenshot.
Thanks for helping,
Markus
Hello,
thanks for your support.
My issue is solved now.
I think it may be useful for others, too.
Best regards
Were you able to resolve your issue?
Sincerely,Valerie Developer Support Supervisor - XAMLInfragisticswww.infragistics.com/support
Sorry about that. In the Button XAML, set the Visibility property to Collapsed and then in the ControlTemplate.Triggers, add the following trigger:
<Trigger Property="IsMouseOver" Value="True"> <Setter TargetName="DeleteButton" Property="Visibility" Value="Visible"/> </Trigger>
Thanks for your example. Even it's not what we needed, because the button is shown always and not only if the mouse is over the row.
But anyway now we have an example of how to retemplate the row.
Hello Markus,
I have attached the sample. I added a Button control to the DataRecordPresenter template and set it's Command property to DataPresenterCommands.DeleteSelectedDataRecords so that when you select a record and click on this button, it will remove the record.
Let me know if you have any questions on this.