internal void AddedToVisualTreeInternal()
{
if (hasBeenAddedToVisualTree)
{
throw new ObjectDisposedException(Id, "This control has already been added to a visual tree and cannot be reused.");
}
hasBeenAddedToVisualTree = true;
AddedToVisualTree.Fire();
SubscribeForLifetime(ObservableObject.AnyProperty, Application.Paint, this.LifetimeManager);
}