1 write to parent
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ScrollProperties.cs (1)
60
this.
parent
= container;
16 references to parent
System.Windows.Forms (16)
winforms\Managed\System\WinForms\ScrollProperties.cs (16)
42
return
parent
;
79
if (
parent
.AutoScroll) {
141
if (
parent
.AutoScroll) {
175
if (
parent
.AutoScroll) {
272
parent
.SetDisplayFromScrollProps(HorizontalDisplayPosition, VerticalDisplayPosition);
294
if (
parent
.AutoScroll) {
299
parent
.UpdateStylesCore ();
301
parent
.SetDisplayFromScrollProps(HorizontalDisplayPosition, VerticalDisplayPosition);
312
if (
parent
.IsHandleCreated && visible) {
318
si.nPage = (
parent
.AutoScroll) ? PageSize : LargeChange;
321
UnsafeNativeMethods.SetScrollInfo(new HandleRef(
parent
,
parent
.Handle), Orientation, si, true);
333
UnsafeNativeMethods.EnableScrollBar(new HandleRef(
parent
,
parent
.Handle), Orientation, NativeMethods.ESB_ENABLE_BOTH);
336
UnsafeNativeMethods.EnableScrollBar(new HandleRef(
parent
,
parent
.Handle), Orientation, NativeMethods.ESB_DISABLE_BOTH);