In This Article

ScrollThemeProperties Class

Provides attached properties for use in scroll bar themes.

public static class ScrollThemeProperties
Inheritance:
Object Object

Methods

GetHasButtons(DependencyObject)

Gets the value of the HasButtons attached property for the specified object.

[AttachedPropertyBrowsableForType(typeof(ScrollBar))]
[AttachedPropertyBrowsableForType(typeof(ScrollViewer))]
public static bool GetHasButtons(DependencyObject obj)
Parameter Type Description
obj DependencyObject

The object from which the property value is read.

Returns

Boolean:

The object's value.

SetHasButtons(DependencyObject, Boolean)

Sets the value of the HasButtons attached property to the specified object.

public static void SetHasButtons(DependencyObject obj, bool value)
Parameter Type Description
obj DependencyObject

The object to which the attached property is written.

value Boolean

The value to set.

Fields

HasButtonsProperty

Identifies the HasButtons dependency property. This field is read-only.

public static readonly DependencyProperty HasButtonsProperty

Inherited Members