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


IXRInteraction (Compact 2013)

3/28/2014

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

Syntax

class IXRInteraction : public IUnknown

Public Data Members

None

Protected Data Members

None

Member Functions

Member Function

Description

IXRInteraction.CacheAttachedObject(IXRAttachedObject *)

Caches the IXRAttachedObject to IXRDependencyObject relationship.

IXRInteraction.CreateAttachedObject(REFIID,IXRAttachedObject * *)

Creates a user-defined IXRAttachedObject.

IXRInteraction.FindAttachedObject(const WCHAR *,IXRAttachedObject * *)

Finds the IXRAttachedObject with the specified name.

IXRInteraction.GetAttachedObject(IXRDependencyObject *,IXRAttachedObject * *)

Gets the IXRAttachedObject corresponding to a given core IXRDependencyObject.

IXRInteraction.GetAttachedObjectCollectionProperty(const WCHAR *,const WCHAR *,BOOL,IXRDependencyObject *,IXRAttachedObjectCollection * *)

Gets the IXRAttachedObjectCollection corresponding to a given IXRDependencyObject.

IXRInteraction.GetBehaviors(IXRDependencyObject *,IXRBehaviorCollection * *)

Gets the IXRBehaviorCollection corresponding to a given IXRDependencyObject.

IXRInteraction.GetTriggers(IXRDependencyObject *,IXRInteractivityTriggerBaseCollection * *)

Gets the IXRInteractivityTriggerBaseCollection corresponding to a given IXRDependencyObject.

IXRInteraction.RegisterActionsDependencyProperty(const WCHAR *,UINT,PFN_PROPERTY_CHANGE,DEPENDENCY_PROPERTY_ID *)

Registers an enumerable property that stores IXRInteractivityTriggerActions.

IXRInteraction.RegisterAttachedObject(REFIID,const WCHAR *,const WCHAR *,PFN_CREATE_ATTACHED_OBJECT,UINT *)

Registers a user-defined IXRAttachedObject that will be used in XAML as an object tag.

IXRInteraction.RemoveCachedAttachedObject(IXRAttachedObject *)

Removes the cached IXRAttachedObject from the IXRDependencyObject relationship. This method should only be called when the IXRAttachedObject is no longer needed.

Overridable Member Functions

Implemented Methods

See Also

Reference

Classes for Interactivity