/// <summary>
        /// Initializes a new instance of <see cref="ElementModelContainer"/>.
        /// </summary>
        public ElementModelContainer()
        {
            DataContextChanged += DataContextChangedHandler;
            Unloaded += UnloadedHandler;

            selectionHelper = new SelectionHelper(this);

            CreateElementBindings();
        }
        /// <summary>
        /// Sets the relationship canvas and sets the PART_Content to <see cref="ElementViewModel.Bindable"/>.
        /// </summary>
        public override void OnApplyTemplate()
        {
            Focusable = true;
            base.OnApplyTemplate();
            this.selectionHelper = new SelectionHelper(this);
            selectionHelper.Attach(SectionModel);

            RelationshipCanvas = Template.FindName("PART_RelationshipCanvas", this) as Canvas;
            Content = Template.FindName("PART_Content", this) as ContentControl;
            if (Content != null) Content.Content = SectionModel.Bindable;
        }