C# Class Windows.UI.Interactivity.TriggerBase

Inheritance: InteractivityBase
显示文件 Open project: jlaanstra/Windows.UI.Interactivity Class Usage Examples

Public Properties

Property Type Description
ActionsProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
Attach ( FrameworkElement frameworkElement ) : void

Attaches to the specified object.

Detach ( ) : void

Detaches this instance from its associated object.

Protected Methods

Method Description
InvokeActions ( object parameter ) : void

Invoke all actions associated with this trigger.

Derived classes should call this to fire the trigger.

Private Methods

Method Description
TriggerBase ( Type associatedObjectTypeConstraint ) : System

Method Details

Attach() public method

Attaches to the specified object.
Cannot host the same trigger on more than one object at a time. dependencyObject does not satisfy the trigger type constraint.
public Attach ( FrameworkElement frameworkElement ) : void
frameworkElement Windows.UI.Xaml.FrameworkElement The object to attach to.
return void

Detach() public method

Detaches this instance from its associated object.
public Detach ( ) : void
return void

InvokeActions() protected method

Invoke all actions associated with this trigger.
Derived classes should call this to fire the trigger.
protected InvokeActions ( object parameter ) : void
parameter object
return void

Property Details

ActionsProperty public_oe static_oe property

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