WinForms: Why is Control.Parent null?
- by Neil Barnwell
I'm trying to get the parent of a listview docked within a splitcontainer, and am finding that ListView.Parent is null.
According to the documentation this should be:
A Control that represents the parent or container control of the control.
Can anyone explain why this property would be null? I've tried moving the ListView to the Form (in…