Поделиться через


ScrollViewer.GetManipulationMode Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the value of the ManipulationMode attached property, and supports the property's XAML usage.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Shared Function GetManipulationMode ( _
    element As DependencyObject _
) As ManipulationMode
public static ManipulationMode GetManipulationMode(
    DependencyObject element
)

Parameters

Return Value

Type: System.Windows.Controls.ManipulationMode
The obtained ManipulationMode attached property value.

Remarks

Version Notes

Silverlight for the desktop

Do not use for a Silverlight for the desktop application.

Silverlight for Windows Phone Silverlight for Windows Phone

For information on using manipulations on Silverlight for Windows Phone, see How to: Handle Manipulation Events.

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.