RibbonScrollButtonVisibilityConverter Class

RibbonScrollButtonVisibilityConverter Class

.NET Framework 4.6 and 4.5

Converts a scroll bar visibility and scroll position to Visibility values.

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


public sealed class RibbonScrollButtonVisibilityConverter : IMultiValueConverter


Initializes a new instance of the RibbonScrollButtonVisibilityConverter class.

System_CAPS_pubmethodConvert(Object[], Type, Object, CultureInfo)

Converts a scroll bar visibility and scroll position to a Visibility value.

System_CAPS_pubmethodConvertBack(Object, Type[], Object, CultureInfo)

This API supports the product infrastructure and is not intended to be used directly from your code. This API is not implemented.


Determines whether the specified object is equal to the current object.(Inherited from Object.)


Serves as the default hash function. (Inherited from Object.)


Gets the Type of the current instance.(Inherited from Object.)


Returns a string that represents the current object.(Inherited from Object.)

The RibbonTabHeadersPanel and RibbonTabsPanel provide horizontal scrolling behavior for the ribbon. When scrolling is needed, the ribbon replaces the typical scroll bar with a repeat button at each end of the ribbon. This converter uses the visibility and position of the scroll bar to determine the visibility of each of the repeat buttons.

.NET Framework
Available since 4.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
© 2015 Microsoft