C# Class Tealium.TealiumEventBehavior

Attached property/behavior that listens for a WinRT event and fires a corresponding Tealium event in response.
显示文件 Open project: Tealium/win-library

Public Properties

Property Type Description
EventProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
GetEvent ( DependencyObject obj ) : TealiumEvent

Gets the attached property for the registered Tealium event.

SetEvent ( DependencyObject obj, TealiumEvent value ) : void

Sets the attached property for the registered Tealium event.

Private Methods

Method Description
EventActionHandler ( object sender, object args ) : void

Handles the registered event and fires the corresponding Tealium event variable.

OnEventPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handler for the registered event property.

RegisterForEvent ( DependencyObject d, EventInfo evt ) : void

Registers a handler for reporting the event to Tealium.

UnregisterForEvent ( DependencyObject d, EventInfo evt ) : void

Removes the registered handler for reporting the event to Tealium.

Method Details

GetEvent() public static method

Gets the attached property for the registered Tealium event.
public static GetEvent ( DependencyObject obj ) : TealiumEvent
obj Windows.UI.Xaml.DependencyObject
return TealiumEvent

SetEvent() public static method

Sets the attached property for the registered Tealium event.
public static SetEvent ( DependencyObject obj, TealiumEvent value ) : void
obj Windows.UI.Xaml.DependencyObject
value TealiumEvent
return void

Property Details

EventProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml EventProperty
return Windows.UI.Xaml.DependencyProperty