I would like to utilize the datagridcontrol with virtualization and databound itemssource and provide a possibility to have the columns always as narrow as possible. Therefore I tried to call the ColumnBase.GetFittedWidth() method on occurance of the ItemsSourceHasChanged / Loaded / DataContextChanged event. However this seems to be to early, since I receive always -1 as the result, so I guess at this time there are no cells realized yet. Is there any way to know, when the realized items have changed, so I can set the width of the columns accordingly?
Thanks in advance.
Thanks in advance.