I am looking for the Row Height Event into XamDataGrid but unfortunately its not there. could someone guide me how can i reach this goal.
how to raise event on row height changes.?
Hello,
I have been looking into your requirement and indeed there is no exposed event like that through the XamDataGrid’s API, however you can use a Style that targets the DataRecords’ visual elements and with an event handle get notified when their size is changed, here is a small snippet:
<Style TargetType="{x:Type igDP:DataRecordPresenter}">
<EventSetter Event="SizeChanged" Handler="DataRecordPresenter_SizeChanged" />
</Style>
void DataRecordPresenter_SizeChanged(object sender, SizeChangedEventArgs e)
{
//DO STUFF HERE
}
Please let me know if I can be of any further assistance on the matter.