Xamarin.Forms | ComponentOne
C1.Xamarin.Forms.Viewer Assembly / C1.Xamarin.Forms.Viewer Namespace / FlexViewer Class / OnMeasure Method


In This Topic
    OnMeasure Method (FlexViewer)
    In This Topic
    Syntax
    'Declaration
     
    
    Protected Overridable Function OnMeasure( _
       ByVal widthConstraint As Double, _
       ByVal heightConstraint As Double _
    ) As Xamarin.Forms.SizeRequest
    'Usage
     
    
    Dim instance As FlexViewer
    Dim widthConstraint As Double
    Dim heightConstraint As Double
    Dim value As Xamarin.Forms.SizeRequest
     
    value = instance.OnMeasure(widthConstraint, heightConstraint)
    protected virtual Xamarin.Forms.SizeRequest OnMeasure( 
       double widthConstraint,
       double heightConstraint
    )

    Parameters

    widthConstraint
    heightConstraint
    See Also