private void OnHexCanvasRenderSizeChanged( object sender, RenderSizeChangedEventArgs e ) { m_terminal.CharsPerLine = (int)(m_terminalCanvas.ActualWidth / m_charWidth); m_terminalCanvas.InvalidateVisual(); }
private void OnHexCanvasRenderSizeChanged(object sender, RenderSizeChangedEventArgs e) { m_terminal.CharsPerLine = (int)(m_terminalCanvas.ActualWidth / m_charWidth); m_terminalCanvas.InvalidateVisual(); }