In This Article

ScrollBarBlock Class

Represents a block that appears next to where two scrollbar controls intersect.

public class ScrollBarBlock : UIElement, IInputElement, IUIElement, ILogicalTreeNode, IDpiAwareElement, IDisposable
Inheritance:
object MarshalByRefObject DisposableObject LogicalTreeNodeBase UIElement object
Implements:
IInputElement IUIElement ILogicalTreeNode IDpiAwareElement IDisposable

Constructors

ScrollBarBlock()

Initializes an instance of the ScrollBarBlock class.

public ScrollBarBlock()

Methods

MeasureOverride(Graphics, Size)

Measures the size required for the element and its child elements.

protected override Size MeasureOverride(Graphics g, Size availableSize)
Parameter Type Description
g Graphics

The Graphics to use for measurement.

availableSize Size

The available size.

Returns

Size:

The desired size.

OnRender(PaintEventArgs)

Occurs when rendering the control.

protected override void OnRender(PaintEventArgs e)
Parameter Type Description
e PaintEventArgs

The PaintEventArgs that contains data related to this event.

Inherited Members