Reputation: 4074
I'm working with a Silverlight Popup control (SL4). I would like to update data shown on that popup every time the user opens it (IsOpen=true) by passing a string and calling a Private method located in the Popup control behind code to fetch updated data.
I was hoping to place code to make this happen in the Opened event of the Popup, but such an event does not seem to exist (even though I found some documentation on it).
I'm doing this in VB.
Upvotes: 0
Views: 413
Reputation: 50503
There is definitely an Opened Event Handler
Namespace:
using System.Windows.Controls.Primitives;
Code:
Popup popup = new Popup();
popup.Opened += (s, args) =>
{
// do work
};
Upvotes: 2