//private TextBox _textEditor; /// <summary> /// Initializes a new instance of the <see cref="PageControl"/> class. /// </summary> public PageControl() { InitializeComponent(); _scrollViewer = this.FindControl <ScrollViewer>("scrollViewer"); _zoomBorder = this.FindControl <ZoomBorder>("zoomBorder"); _presenterControlData = this.FindControl <PresenterControl>("presenterControlData"); _presenterControlTemplate = this.FindControl <PresenterControl>("presenterControlTemplate"); _presenterControlEditor = this.FindControl <PresenterControl>("presenterControlEditor"); //_textEditor = this.FindControl<TextBox>("textEditor"); }
public void Render(IDrawingContextImpl context) { var canvas = (context as ISkiaDrawingContextImpl)?.SkCanvas; if (canvas == null) { return; } canvas.Save(); PresenterControl.Draw(CustomState, canvas); canvas.Restore(); }