Version

OnMeasure Method (QRCodeBarcodeView)

Measure the view.
Syntax
protected override void OnMeasure( 
   int widthMeasureSpec,
   int heightMeasureSpec
)

Parameters

widthMeasureSpec
The horizontal space requirements as imposed by the parent.
heightMeasureSpec
The vertical space requirements as imposed by the parent.
Remarks
The widthMeasureSpec and heightMeasureSpec arguments are encoded with requirements from the parent view to the child view. The Android.Views.View.MeasureSpec class is used for encoding and decoding the requirements. For more info, please see the Xamarin documentation: https://developer.xamarin.com/api/type/Android.Views.View+MeasureSpec/
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also