ScrollBar::IsEnabledCore Property


Gets a value that indicates whether the ScrollBar is enabled.

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

property bool IsEnabledCore {
	virtual bool get() override;

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