Show / Hide Table of Contents

Class MenuScrollingEnabledConverter

Data binding converter to handle whether repeat buttons in scrolling menus are enabled.

Inheritance
Object
MenuScrollingEnabledConverter
Implements
IMultiValueConverter
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: PresentationTheme.AeroLite.Win10
Assembly: PresentationTheme.AeroLite.Win10.dll
Syntax
public sealed class MenuScrollingEnabledConverter : IMultiValueConverter

Methods

| Improve this Doc View Source

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

Converts a ScrollViewer state to a Boolean value indicating whether a specific scrolled percentage is reached.

Declaration
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
Parameters
Type Name Description
Object[] values

Double values indicating the current state of the ScrollViewer.

  1. VerticalOffset
  2. ExtentHeight
  3. ViewportHeight

Type targetType

The type of the binding target property.

Object parameter

A Double value indicating the scrolled percentage at which the converter returns true. Use 0.0 or 100.0 to target the beginning or end respectively.

CultureInfo culture

The culture to use in the converter. Not used.

Returns
Type Description
Object

true if the values indicate a scrolled percentage that equals the target parameter; otherwise false.

Explicit Interface Implementations

| Improve this Doc View Source

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

Declaration
object[] IMultiValueConverter.ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
Parameters
Type Name Description
Object value
Type[] targetTypes
Object parameter
CultureInfo culture
Returns
Type Description
Object[]

Implements

System.Windows.Data.IMultiValueConverter
  • Improve this Doc
  • View Source
Back to top Generated by DocFX