ClassInteractionEffectBase
Represents a base class for all interaction effects that can be applied to an element.
Definition
Namespace:Telerik.UI.Xaml.Controls.Primitives
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public abstract class InteractionEffectBase : DependencyObject
Inheritance: objectInteractionEffectBase
Derived Classes:
Constructors
InteractionEffectBase()
Declaration
protected InteractionEffectBase()
Methods
CanStartEffect(FrameworkElement, PointerRoutedEventArgs)
Determines whether an effect can be started on the specified target element.
Declaration
protected virtual bool CanStartEffect(FrameworkElement targetElement, PointerRoutedEventArgs args)
Parameters
targetElement
FrameworkElement
The target element.
args
PointerRoutedEventArgs
The PointerRoutedEventArgs instance containing the event data.
Returns
true if an effect can be started on the specified target element; otherwise, false.
CancelEffect()
Cancels the current interaction effect.
Declaration
public virtual void CancelEffect()
OnStartEffect(FrameworkElement, PointerRoutedEventArgs)
Called when the interaction effect is started.
Declaration
protected abstract void OnStartEffect(FrameworkElement targetElement, PointerRoutedEventArgs args)
Parameters
targetElement
FrameworkElement
The target element.
args
PointerRoutedEventArgs
The PointerRoutedEventArgs instance containing the event data.