-api-id | -api-type | ms.custom |
---|---|---|
M:Windows.UI.Composition.Interactions.VisualInteractionSource.CreateFromIVisualElement(Windows.UI.Composition.IVisualElement) |
winrt method |
19H1 |
Creates an instance of VisualInteractionSource from an element that implements IVisualElement.
The element to use as the source of the interaction, typically a XAML UIElement.
Returns the created VisualInteractionSource object.