Export (0) Print
Expand All

RibbonScrollButtonVisibilityConverter Class

.NET Framework 4.5

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

System.Object
  System.Windows.Controls.Ribbon.Primitives.RibbonScrollButtonVisibilityConverter

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.

  NameDescription
Public methodRibbonScrollButtonVisibilityConverterInitializes a new instance of the RibbonScrollButtonVisibilityConverter class.
Top

  NameDescription
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.)
Top

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

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