OnApplyTemplate Method

ScrollBar.OnApplyTemplate Method ()


Creates the visual tree for the ScrollBar.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

public override void OnApplyTemplate()

This implementation also sets the Track property to the Track that is defined in the ScrollBar template.

.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
© 2016 Microsoft