Xamarin.Forms | ComponentOne
C1.Xamarin.Forms.Core Assembly / C1.Xamarin.Forms.Core Namespace / C1Icon Class / OnPaddingChanged Method
The old padding.
The new padding.


In This Topic
    OnPaddingChanged Method
    In This Topic
    Called when the PaddingProperty is updated.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub OnPaddingChanged( _
       ByVal oldPadding As Xamarin.Forms.Thickness, _
       ByVal newPadding As Xamarin.Forms.Thickness _
    ) 
    'Usage
     
    
    Dim instance As C1Icon
    Dim oldPadding As Xamarin.Forms.Thickness
    Dim newPadding As Xamarin.Forms.Thickness
     
    instance.OnPaddingChanged(oldPadding, newPadding)
    protected virtual void OnPaddingChanged( 
       Xamarin.Forms.Thickness oldPadding,
       Xamarin.Forms.Thickness newPadding
    )

    Parameters

    oldPadding
    The old padding.
    newPadding
    The new padding.
    See Also