private void ElementSizeChanged(object sender, SizeChangedEventArgs e)
 {
     SizeChanged.SafeInvoke();
 }