The ScrollBar tag in XAML represents a WPF ScrollBar control.
The Width and Height properties represent the width and the height of a ScrollBar. The Name property represents the name of the control, which is a unique identifier of a control. The Margin property tells the location of a ScrollBar on the parent control.
The Orientation property sets the direction of scrolling that can be either horizontal or vertical.
The following code snippet sets the name, height, width, orientation, margin, and background of a ScrollBar control.