private void OnDrawView(object sender, DrawViewEventArgs e) { context.canvas = e.Canvas; context.Width = nativeView.Width; context.Height = nativeView.Height; Element.DrawInternal(context); }
private void OnDrawView(object sender, DrawViewEventArgs e) { context.context = e.Context; context.rect = e.Rect; context.Width = (float)Control.Bounds.Width; context.Height = (float)Control.Bounds.Height; Element.DrawInternal(context); }