Ribbon for WinForms | ComponentOne
C1.Framework Namespace / IconElement Class / CreateElement Method / CreateElement(C1Icon,Style) Method
The icon to show.
The style of this IconElement.

In This Topic
    CreateElement(C1Icon,Style) Method
    In This Topic
    Creates the IconElement to show the C1Icon.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function CreateElement( _
       ByVal icon As C1Icon, _
       ByVal style As Style _
    ) As IconElement
    public static IconElement CreateElement( 
       C1Icon icon,
       Style style
    )

    Parameters

    icon
    The icon to show.
    style
    The style of this IconElement.
    See Also