示例#1
0
        /// <summary>
        /// Wires the trigger into the interaction hierarchy.
        /// </summary>
        /// <param name="node">The node.</param>
        public override void Attach(IInteractionNode node)
        {
            var handler = EventHandlerFactory.Wire(
                node.UIElement,
                EventName
                );

            handler.SetActualHandler(Event_Occurred);

            base.Attach(node);
        }