Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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

The RibbonScrollButtonVisibilityConverter type exposes the following members.

Public methodRibbonScrollButtonVisibilityConverterInitializes a new instance of the RibbonScrollButtonVisibilityConverter class.

Public methodConvertConverts a scroll bar visibility and scroll position to a Visibility value.
Public methodConvertBackInfrastructure. This API is not implemented.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns 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

Supported in: 4.6, 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.
© 2015 Microsoft