แก้ไข

แชร์ผ่าน


RibbonScrollButtonVisibilityConverter Class

Definition

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

public ref class RibbonScrollButtonVisibilityConverter sealed : System::Windows::Data::IMultiValueConverter
public sealed class RibbonScrollButtonVisibilityConverter : System.Windows.Data.IMultiValueConverter
type RibbonScrollButtonVisibilityConverter = class
    interface IMultiValueConverter
Public NotInheritable Class RibbonScrollButtonVisibilityConverter
Implements IMultiValueConverter
Inheritance
RibbonScrollButtonVisibilityConverter
Implements

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.

Constructors

RibbonScrollButtonVisibilityConverter()

Initializes a new instance of the RibbonScrollButtonVisibilityConverter class.

Methods

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

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

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

This API is not implemented.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(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)

Applies to

See also