ManagedSpy
ManagedSpy copied to clipboard
The Columns property of the datagridview can not be obtained by ManagedSpy?
The Columns property of the datagridview can not be obtained by ManagedSpy? object is null.
The attribute of the object is that Collections is NULL。
Could you please provide an MCVE?
proxy = ControlProxy.FromHandle(handle); object ob = proxy.GetValue("Columns"); if (ob == null) MessageBox.Show("null");
Columns is the attribute of DataGridView; The attribute of the object is that Collections is NULL
The GetValue method does not get the attribute of the collection class?