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)
719if (_viewStyle != View.Tile) 721cp.Style |= (int)_viewStyle; 1712if (_viewStyle is View.LargeIcon or View.SmallIcon or View.Tile) 1727if (_viewStyle is View.LargeIcon or View.SmallIcon or View.Tile) 1805return _viewStyle; 1824if (_viewStyle != value) 1829PInvokeCore.SendMessage(this, PInvoke.LVM_SETVIEW, (WPARAM)(int)_viewStyle); 1833if (_viewStyle == View.Tile) 2237if (_viewStyle != View.SmallIcon) 2652if (_viewStyle == View.Details) 2670if (_viewStyle is View.Details or View.Tile) 3785if (_viewStyle == View.Details && IsHandleCreated) 4573PInvokeCore.SendMessage(this, PInvoke.LVM_SETVIEW, (WPARAM)(uint)_viewStyle); 4586if (_viewStyle == View.Tile) 5797Debug.Assert(_viewStyle == View.Tile, "this function should be called only in Tile view");