2 types derived from ScrollBar
System.Windows.Forms (2)
System\Windows\Forms\Scrolling\HScrollBar.cs (1)
11public partial class HScrollBar : ScrollBar
System\Windows\Forms\Scrolling\VScrollBar.cs (1)
13public partial class VScrollBar : ScrollBar
46 references to ScrollBar
System.Windows.Forms (46)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (2)
2783protected ScrollBar HorizontalScrollBar => _horizScrollBar; 4115protected ScrollBar VerticalScrollBar => _vertScrollBar;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
16464ScrollBar sb = (verticalScroll ? _vertScrollBar : _horizScrollBar);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
484private ScrollBar ScrollBar
System\Windows\Forms\Controls\Unsupported\DataGrid\DataGrid.cs (2)
342protected ScrollBar HorizScrollBar => throw null; 454protected ScrollBar VertScrollBar => throw null;
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
870void AdjustScroll(ScrollBar scrollBar, int virtualDimension, int displayDimension, int offset)
System\Windows\Forms\Printing\PrintPreviewControl.ScrollBarAccessibleObject.cs (4)
10internal sealed class ScrollBarAccessibleObject : ScrollBar.ScrollBarAccessibleObject 12public ScrollBarAccessibleObject(ScrollBar owner) : base(owner) 17this.TryGetOwnerAs(out ScrollBar? scrollBar) && scrollBar.Parent is PrintPreviewControl printPreviewControl 25if (!this.TryGetOwnerAs(out ScrollBar? scrollBar) || scrollBar.Parent is not PrintPreviewControl printPreviewControl)
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
920/// Raises the <see cref="ScrollBar.OnScroll"/> event.
System\Windows\Forms\Scrolling\ScrollBar.cs (3)
30/// Initializes a new instance of the <see cref="ScrollBar"/> class. 748/// Creates a new AccessibleObject for this <see cref="ScrollBar"/> instance. 752/// AccessibleObject for this <see cref="ScrollBar"/> instance.
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarAccessibleObject.cs (17)
19internal ScrollBarAccessibleObject(ScrollBar owningScrollBar) : base(owningScrollBar) 24=> _firstLineButtonAccessibleObject ??= this.TryGetOwnerAs(out ScrollBar? owner) ? new(owner) : null; 27=> _firstPageButtonAccessibleObject ??= this.TryGetOwnerAs(out ScrollBar? owner) ? new(owner) : null; 32=> _lastLineButtonAccessibleObject ??= this.TryGetOwnerAs(out ScrollBar? owner) ? new(owner) : null; 35=> _lastPageButtonAccessibleObject ??= this.TryGetOwnerAs(out ScrollBar? owner) ? new(owner) : null; 38=> _thumbAccessibleObject ??= this.TryGetOwnerAs(out ScrollBar? owner) ? new(owner) : null; 43internal int UIMaximum => this.TryGetOwnerAs(out ScrollBar? owner) ? owner.Maximum - owner.LargeChange + 1 : 0; 55if (!this.IsOwnerHandleCreated(out ScrollBar? _)) 78=> this.IsOwnerHandleCreated(out ScrollBar? _) 86if (!this.IsOwnerHandleCreated(out ScrollBar? _)) 145UIA_PROPERTY_ID.UIA_HasKeyboardFocusPropertyId => (VARIANT)(this.TryGetOwnerAs(out ScrollBar? owner) && owner.Focused), 158internal override double RangeValue => this.TryGetOwnerAs(out ScrollBar? owner) ? owner.Value : base.RangeValue; 160internal override double LargeChange => this.TryGetOwnerAs(out ScrollBar? owner) ? owner.LargeChange : base.LargeChange; 162internal override double SmallChange => this.TryGetOwnerAs(out ScrollBar? owner) ? owner.SmallChange : base.SmallChange; 164internal override double Maximum => this.TryGetOwnerAs(out ScrollBar? owner) ? owner.Maximum : base.Maximum; 166internal override double Minimum => this.TryGetOwnerAs(out ScrollBar? owner) ? owner.Minimum : base.Minimum; 172if (!this.IsOwnerHandleCreated(out ScrollBar? owner))
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarChildAccessibleObject.cs (2)
14internal ScrollBar OwningScrollBar { get; private set; } 16public ScrollBarChildAccessibleObject(ScrollBar owningScrollBar)
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarFirstLineButtonAccessibleObject.cs (1)
12public ScrollBarFirstLineButtonAccessibleObject(ScrollBar owningScrollBar) : base(owningScrollBar)
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarFirstPageButtonAccessibleObject.cs (1)
12public ScrollBarFirstPageButtonAccessibleObject(ScrollBar owningScrollBar) : base(owningScrollBar)
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarLastLineButtonAccessibleObject.cs (1)
12public ScrollBarLastLineButtonAccessibleObject(ScrollBar owningScrollBar) : base(owningScrollBar)
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarLastPageButtonAccessibleObject.cs (1)
12public ScrollBarLastPageButtonAccessibleObject(ScrollBar owningScrollBar) : base(owningScrollBar)
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarThumbAccessibleObject.cs (1)
13public ScrollBarThumbAccessibleObject(ScrollBar owningScrollBar) : base(owningScrollBar)
System\Windows\Forms\Scrolling\ScrollEventArgs.cs (1)
7/// Provides data for the <see cref="ScrollBar.Scroll"/>
System\Windows\Forms\Scrolling\ScrollEventHandler.cs (1)
7/// Represents a method that handles the <c>Scroll</c> event of a <see cref="ScrollBar"/>,
System\Windows\Forms\Scrolling\ScrollEventType.cs (3)
7/// Specifies the type of action used to raise the <see cref="ScrollBar.Scroll"/> event. 46/// The scroll box was moved to the <see cref="ScrollBar.Minimum"/> 52/// The scroll box was moved to the <see cref="ScrollBar.Maximum"/>
System\Windows\Forms\Scrolling\ScrollOrientation.cs (1)
7/// Provides data for the <see cref="ScrollBar.Scroll"/>
System\Windows\Forms\Scrolling\ScrollProperties.cs (1)
178/// Gets or sets the value to be added or subtracted to the <see cref="ScrollBar.Value"/>