Export (0) Print
Expand All

RibbonScrollButtonVisibilityConverter Class

.NET Framework 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

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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