public DocumentCanvas(Gwen.Control.Base parent) : base(parent) { ShouldDrawBackground = true; m_SelectionLayer = new SelectionLayer( this ); /* m_SelectionLayer.PropertiesChanged += OnPropertiesChanged; m_SelectionLayer.HierachyChanged += OnHierachyChanged; ControlFactory::Base* pControlFactory = Gwen::ControlFactory::Find( "DesignerCanvas" ); UserData.Set( "ControlFactory", pControlFactory );*/ }