1 write to _viewStyle
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListView.cs (1)
1826
_viewStyle
= value;
15 references to _viewStyle
System.Windows.Forms (15)
System\Windows\Forms\Controls\ListView\ListView.cs (15)
719
if (
_viewStyle
!= View.Tile)
721
cp.Style |= (int)
_viewStyle
;
1712
if (
_viewStyle
is View.LargeIcon or View.SmallIcon or View.Tile)
1727
if (
_viewStyle
is View.LargeIcon or View.SmallIcon or View.Tile)
1805
return
_viewStyle
;
1824
if (
_viewStyle
!= value)
1829
PInvokeCore.SendMessage(this, PInvoke.LVM_SETVIEW, (WPARAM)(int)
_viewStyle
);
1833
if (
_viewStyle
== View.Tile)
2237
if (
_viewStyle
!= View.SmallIcon)
2652
if (
_viewStyle
== View.Details)
2670
if (
_viewStyle
is View.Details or View.Tile)
3785
if (
_viewStyle
== View.Details && IsHandleCreated)
4573
PInvokeCore.SendMessage(this, PInvoke.LVM_SETVIEW, (WPARAM)(uint)
_viewStyle
);
4586
if (
_viewStyle
== View.Tile)
5797
Debug.Assert(
_viewStyle
== View.Tile, "this function should be called only in Tile view");