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


Classes for Interactivity (Compact 2013)

3/28/2014

The list below describes the classes that you use to connect code-behind functionality to different elements in a XAML-based application using XAML for Windows Embedded, a native (C++) UI development framework for Windows Embedded Compact powered devices that is founded on Microsoft Silverlight 3.

Class

Description

IXRAttachedObject

Defines an interface to an object that can be attached to another object.

IXRAttachedObjectCollection

Defines a collection of attached objects.

IXRBehavior

Defines a behavior, a reusable piece of functionality that can be attached to an object to extend its built-in interactivity capabilities.

IXRBehaviorCollection

Represents a collection of behaviors with a shared AttachedObject and provides change notifications to its contents when that AttachedObject changes

IXRChangePropertyAction

Allows you to change the property of an object.

IXRControlStoryboardAction

Defines what a specified storyboard will do.

IXRFluidMoveBehavior

Behavior that watches an element for layout changes and moves the element smoothly to the new position when needed. This behavior does not animate the size or visibility of an element; it only animates the offset of that element within its parent container

IXRGoToStateAction

Allows you to apply a trigger that activates a specified visual state.

IXRHyperlinkAction

Defines a hyperlink to navigate to a website address when a behavior is triggered.

IXRInteraction

Provides methods for creating, registering, and working with behaviors, triggers, and actions.

IXRInteractivityEventTrigger

Defines an EventTrigger object, which listens for a specified event on its source and fires when that event is fired.

IXRInteractivityTargetedTriggerAction

Defines a TargetedTriggerAction object, representing an action that can be targeted to affect an object other than its attached object.

IXRInteractivityTriggerAction

Defines a TriggerAction object, representing an attachable object that encapsulates a unit of functionality.

IXRInteractivityTriggerActionCollection

Defines a collection of TriggerAction objects.

IXRInteractivityTriggerBase

Defines an EventTriggerBase object, which can listen to an element other than its attached object.

IXRInteractivityTriggerBaseCollection

Defines a collection of EventTriggerBase objects.

IXRMouseDragElementBehavior

Supports the functionality of dragging an element around on a screen.

IXRPlaySoundAction

Plays a sound when a specified action is triggered.

IXRRemoveElementAction

Removes an element from a logical tree.

See Also

Reference

XAML for Windows Embedded Classes
Classes for Visual Appearance