Xamarin.Android | ComponentOne
C1.Android.Core Assembly / C1.Android.Core Namespace / C1PolygonIcon Class / GenerateLayoutParams(IAttributeSet) Method


In This Topic
    GenerateLayoutParams(IAttributeSet) Method
    In This Topic
    Syntax
    'Declaration
     
    
    <Android.Runtime.RegisterAttribute("generateLayoutParams", 
       "(Landroid/util/AttributeSet;)Landroid/view/ViewGroup$LayoutParams;", 
       "GetGenerateLayoutParams_Landroid_util_AttributeSet_Handler")>
    Public Overridable Function GenerateLayoutParams( _
       ByVal attrs As Android.Util.IAttributeSet _
    ) As Android.Views.ViewGroup.LayoutParams
    'Usage
     
    
    Dim instance As C1PolygonIcon
    Dim attrs As Android.Util.IAttributeSet
    Dim value As Android.Views.ViewGroup.LayoutParams
     
    value = instance.GenerateLayoutParams(attrs)
    [Android.Runtime.Register("generateLayoutParams", 
       "(Landroid/util/AttributeSet;)Landroid/view/ViewGroup$LayoutParams;", 
       "GetGenerateLayoutParams_Landroid_util_AttributeSet_Handler")]
    public virtual Android.Views.ViewGroup.LayoutParams GenerateLayoutParams( 
       Android.Util.IAttributeSet attrs
    )

    Parameters

    attrs
    See Also