Xamarin.Forms | ComponentOne
C1.Xamarin.Forms.Chart Assembly / C1.Xamarin.Forms.Chart.Annotation Namespace / Rectangle Class / OnMeasure Method


In This Topic
    OnMeasure Method (Rectangle)
    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 Rectangle
    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