Use dependency property instead of custom event