RibbonScrollButtonVisibilityConverter Class
Converts a scroll bar visibility and scroll position to Visibility values.
Inheritance Hierarchy
System.Object
Microsoft.Windows.Controls.Ribbon.Primitives.RibbonScrollButtonVisibilityConverter
Namespace: Microsoft.Windows.Controls.Ribbon.Primitives
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public NotInheritable Class RibbonScrollButtonVisibilityConverter _
Implements IMultiValueConverter
public sealed class RibbonScrollButtonVisibilityConverter : IMultiValueConverter
public ref class RibbonScrollButtonVisibilityConverter sealed : IMultiValueConverter
[<Sealed>]
type RibbonScrollButtonVisibilityConverter =
class
interface IMultiValueConverter
end
public final class RibbonScrollButtonVisibilityConverter implements IMultiValueConverter
The RibbonScrollButtonVisibilityConverter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RibbonScrollButtonVisibilityConverter | Initializes a new instance of the RibbonScrollButtonVisibilityConverter class. |
Top
Methods
Name | Description | |
---|---|---|
Convert | Converts a scroll bar visibility and scroll position to a Visibility value. | |
ConvertBack | Infrastructure. This API is not implemented. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.