private void InitializeImageSource() { _d3D11Image = new D3D11Image(); _d3D11Image.IsFrontBufferAvailableChanged += OnIsFrontBufferAvailableChanged; CreateBackBuffer(); Source = _d3D11Image; }