Can't you use the Widget.Realized event for this?