vb.net listview 开启双缓存

 

 

vb.net listview 刷新时闪烁 

因为 Doublebuffered属性 为 protected 无法直接修改.

网友提供方法,使用反射 修改 DoubleBuffered 属性

 

LV1.[GetType]().GetProperty("DoubleBuffered", BindingFlags.Instance Or BindingFlags.NonPublic).SetValue(LV1, True, Nothing)

posted on 2022-08-15 12:47  boy8199  阅读(152)  评论(0编辑  收藏  举报