ComponentOne Menus and Toolbars for WinForms
C1.Win.C1Command.4.5.2 Assembly / C1.Win.C1Command Namespace / C1CommandMenu Class / IC1GetAmbientRootSource Method
The property name.

In This Topic
    IC1GetAmbientRootSource Method (C1CommandMenu)
    In This Topic
    Get active holder of current VisualStyle.
    Syntax
    'Declaration
     
    Public Function IC1GetAmbientRootSource( _
       ByVal propertyName As System.String _
    ) As System.ComponentModel.Component
    public System.ComponentModel.Component IC1GetAmbientRootSource( 
       System.string propertyName
    )

    Parameters

    propertyName
    The property name.

    Return Value

    The active System.ComponentModel.Component holder object of current VisualStyle.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also