Class
InteractionEffectManager

Implements an infrastructure that allows for applying interaction effects to elements.

Definition

Namespace:Telerik.UI.Xaml.Controls.Primitives

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public static class InteractionEffectManager

Inheritance: objectInteractionEffectManager

Fields

ApplyInteractionExplicitlyProperty

Identifies the ApplyInteractionExplicitly dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ApplyInteractionExplicitlyProperty

Field Value

DependencyProperty

InteractionProperty

Identifies the Interaction dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty InteractionProperty

Field Value

DependencyProperty

IsInteractionEnabledProperty

Identifies the IsTiltEnabled dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsInteractionEnabledProperty

Field Value

DependencyProperty

Properties

AllowedTypes

Gets a collection of types to which the tilt effect can be applied.

Declaration

cs-api-definition
public static List<Type> AllowedTypes { get; }

Property Value

List<Type>

ExcludedTypes

Gets a collection of types to which the tilt effect cannot be applied.

Declaration

cs-api-definition
public static List<Type> ExcludedTypes { get; }

Property Value

List<Type>

Methods

CancelEffect(DependencyObject)

Cancels the effect currently applied to the given element.

Declaration

cs-api-definition
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

cs-api-definition
public static bool GetApplyInteractionExplicitly(DependencyObject element)

Parameters

element

DependencyObject

Returns

bool

GetInteraction(DependencyObject)

Gets the interaction effect assigned to the given element.

Declaration

cs-api-definition
public static InteractionEffectBase GetInteraction(DependencyObject element)

Parameters

element

DependencyObject

Returns

InteractionEffectBase

GetIsInteractionEnabled(DependencyObject)

Gets a boolean value indicating whether the tilt effect is enabled for the given element.

Declaration

cs-api-definition
public static bool GetIsInteractionEnabled(DependencyObject element)

Parameters

element

DependencyObject

The element.

Returns

bool

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

cs-api-definition
public static void SetApplyInteractionExplicitly(DependencyObject element, bool value)

Parameters

element

DependencyObject

value

bool

SetInteraction(DependencyObject, InteractionEffectBase)

Sets the interaction effect for a given element..

Declaration

cs-api-definition
public static void SetInteraction(DependencyObject element, InteractionEffectBase value)

Parameters

element

DependencyObject

value

InteractionEffectBase

SetIsInteractionEnabled(DependencyObject, bool)

Sets a boolean value indicating whether the tilt effect will be enabled for the given element.

Declaration

cs-api-definition
public static void SetIsInteractionEnabled(DependencyObject element, bool value)

Parameters

element

DependencyObject

value

bool