Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ScrollBar.IsEnabledCore Property

 

Gets a value that indicates whether the ScrollBar is enabled.

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

protected override bool IsEnabledCore { get; }

Property Value

Type: System.Boolean

true if the ScrollBar is enabled in a ScrollViewer and the size of the content is larger than the display area; otherwise, false. The default is true.

This implementation sets IsEnabledCore to true only if the Maximum value of the ScrollBar is greater than the Minimum value and the ScrollBar is enabled.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft