Compartir a través de


IXREventTrigger::GetRoutedEvent (Compact 2013)

3/28/2014

This method retrieves the name of the event that initiates the trigger. Only the Loaded event, raised by an IXRFrameworkElement object, can be used with this method.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetRoutedEvent(
    BSTR* pRoutedEvent
) = 0;

Parameters

  • pRoutedEvent
    [out] Pointer to a BSTR that contains the name of the event that initiates the trigger.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

See Remarks in IXREventTrigger for more information about limitations on triggers and which events can initiate a trigger.

.NET Framework Equivalent

System.Windows.EventTrigger.RoutedEvent

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXREventTrigger
IXREventTrigger::SetRoutedEvent