Questions tagged [eventtrigger]

Represents a trigger that applies a set of actions in response to an event.

Trigger objects have the Setters, EnterActions, and ExitActions properties that apply changes or actions based on the state of certain properties, while EventTrigger objects start a set of Actions when a specified routed event occurs. For example, you may want to use an EventTrigger to start a set of animations when the mouse pointer is over a certain user interface (UI) control. Unlike Trigger, EventTrigger has no concept of termination of state, so the action will not be undone once the condition that raised the event is no longer true.

More info : http://msdn.microsoft.com/en-us/library/system.windows.eventtrigger(v=vs.110).aspx

784 questions
7
votes
4 answers

How to easilly see number of event subscriptions while debugging?

While debugging, can I look into textBox1.TextChanged to see the number of event subscriptions? If yes, then how do I drill to it? I need to know how many subscriptions there are at a given time for debugging because it looks like an event is…
Madmartigan
  • 143
  • 1
  • 7
7
votes
1 answer

Android OnInfoWindowClickListener() never called

I'm creating an application with new Google Maps API V2 and I have to intercept the click on InfoWindow, showed when a Marker is clicked. Reading the documentation I assumed that I do that to listen to InfoWindows clicks : …
7
votes
2 answers

Attaching Command to ScrollViewer.ScrollChanged of ListView

The WPF ListView class can be set up to automatically handle scrolling without an external ScrollViewer and it's possible to register an event handler for the control's internal scrollbar by writing XAML like such:
ISens
  • 191
  • 2
  • 11
6
votes
3 answers

How to configure Serverless Cognito Lambda Triggers

Using the Serverless framework to create a Cognito User Pool as well as several lambdas to be used for cognito events during TOPT SMS Authorization. Everything is created however the lambda functions are not registered with Cognito. Relatively new…
6
votes
2 answers

How can I selectively set the "Visibility" of a TabItem via DataBinding/Triggers

I have a tab page that should be hidden if a property (BlahType) is set to 1 and shown if set to 0. This is what I WANT to do:
Timothy Khouri
  • 31,315
  • 21
  • 88
  • 128
6
votes
1 answer

How to bind Checked event for radio button in WPF?

I am using the following markup in WPF:
nullDev
  • 11,170
  • 8
  • 34
  • 52
6
votes
3 answers

Trigger a programmatically 'checked' checkbox with jQuery

I want to trigger a programmatically checked checkbox. eg: $(function(){ //create a trigger that if a checkbox changes, eg is clicked/change show an alert $("#idCheckbox").on("change", function(){ if($(this).is(':checked')){ …
Mikel
  • 5,902
  • 5
  • 34
  • 49
6
votes
1 answer

Catch custom event by Interactivity.EventTrigger

I have a simple user-control with an event: using System.Windows; namespace TriggersTest { public partial class MyControl { public MyControl() { InitializeComponent(); } public static readonly…
Igorious
  • 81
  • 5
6
votes
3 answers

Interaction Trigger before selectionChanged of ListPicker in Windows Phone 8

I have a issue when trigger comes in ViewModel the SelectedItem(parameter) comes the previously selected Item. I need the newly selected item as parameter on selectionChanged. I am new in WP8. Below is the code
vinod8812
  • 645
  • 10
  • 27
5
votes
2 answers

Why jQuery's triggerHandler() doesn't prevent inline events?

I've made this test code for the question: https://jsfiddle.net/5phqm/1/ As far as I understand, if jQuery's triggerHandler() prevents default browser behavior, then native JavaScript events will not be triggered and handled (and it's true for…
Raiden
  • 135
  • 1
  • 6
5
votes
2 answers

WPF EventTriggers - Cannot convert string 'MouseEnter' in attribute 'RoutedEvent' to object of type 'System.Windows.RoutedEvent'

I can't get any event triggers to work. A simplified example of what I'm doing is below -
EightyOne Unite
  • 11,665
  • 14
  • 79
  • 105
5
votes
0 answers

How to get sql query from pg_ddl_command

How can I parse the pg_ddl_command field in the pg_event_trigger_ddl_commands function in the scope of ddl command end event trigger in postgres 10+?
5
votes
2 answers

Event trigger on

I want to add an event trigger on a drop-down