ClassInteractionEffectManager
Implements an infrastructure that allows for applying interaction effects to elements.
Definition
Namespace:Telerik.UI.Xaml.Controls.Primitives
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public static class InteractionEffectManager
Inheritance: objectInteractionEffectManager
Fields
ApplyInteractionExplicitlyProperty
Identifies the ApplyInteractionExplicitly dependency property.
Declaration
public static readonly DependencyProperty ApplyInteractionExplicitlyProperty
Field Value
DependencyProperty
InteractionProperty
Identifies the Interaction dependency property.
Declaration
public static readonly DependencyProperty InteractionProperty
Field Value
DependencyProperty
IsInteractionEnabledProperty
Identifies the IsTiltEnabled dependency property.
Declaration
public static readonly DependencyProperty IsInteractionEnabledProperty
Field Value
DependencyProperty
Properties
AllowedTypes
Gets a collection of types to which the tilt effect can be applied.
ExcludedTypes
Gets a collection of types to which the tilt effect cannot be applied.
Methods
CancelEffect(DependencyObject)
Cancels the effect currently applied to the given element.
Declaration
public static void CancelEffect(DependencyObject element)
Parameters
element
DependencyObject
GetApplyInteractionExplicitly(DependencyObject)
Gets a value indicating whether an interaction effect will be applied to a given element explicitly without checking the AllowedTypes and ExcludedTypes values.
Declaration
public static bool GetApplyInteractionExplicitly(DependencyObject element)
Parameters
element
DependencyObject
Returns
GetInteraction(DependencyObject)
Gets the interaction effect assigned to the given element.
Declaration
public static InteractionEffectBase GetInteraction(DependencyObject element)
Parameters
element
DependencyObject
Returns
GetIsInteractionEnabled(DependencyObject)
Gets a boolean value indicating whether the tilt effect is enabled for the given element.
Declaration
public static bool GetIsInteractionEnabled(DependencyObject element)
Parameters
element
DependencyObject
The element.
Returns
SetApplyInteractionExplicitly(DependencyObject, bool)
Sets a boolean value determining whether an interaction effect will be applied to a given element explicitly without checking the AllowedTypes and ExcludedTypes values.
Declaration
public static void SetApplyInteractionExplicitly(DependencyObject element, bool value)
Parameters
element
DependencyObject
value
SetInteraction(DependencyObject, InteractionEffectBase)
Sets the interaction effect for a given element..
Declaration
public static void SetInteraction(DependencyObject element, InteractionEffectBase value)
Parameters
element
DependencyObject
value
SetIsInteractionEnabled(DependencyObject, bool)
Sets a boolean value indicating whether the tilt effect will be enabled for the given element.
Declaration
public static void SetIsInteractionEnabled(DependencyObject element, bool value)
Parameters
element
DependencyObject
value