private void InitializeGrid()
        {
            _grid = new Grid();
            _grid.AddAutoHeightRow();
            _grid.AddAutoWidthColumn();

            var backgroundBinding = new Binding
            {
                Source = this,
                Path = new PropertyPath("Background")
            };

            _grid.SetBinding(Grid.BackgroundProperty, backgroundBinding);
        }