Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NTheme Class / CreateContextBefore Method


In This Topic
    CreateContextBefore Method
    In This Topic
    Defines a new basic context with the specified build selector delegate, and inserts it before the specified part in the basic parts registry.
    Syntax
    'Declaration
     
    
    Protected Friend Function CreateContextBefore( _
       ByVal selectorPart As NThemeSelectorPart, _
       ByVal buildSelector As Nevron.Nov.Function(Of NSelectorBuilder) _
    ) As NThemingContext
    'Usage
     
    
    Dim instance As NTheme
    Dim selectorPart As NThemeSelectorPart
    Dim buildSelector As Nevron.Nov.Function(Of NSelectorBuilder)
    Dim value As NThemingContext
     
    value = instance.CreateContextBefore(selectorPart, buildSelector)
    protected internal NThemingContext CreateContextBefore( 
       NThemeSelectorPart selectorPart,
       Nevron.Nov.Function<NSelectorBuilder> buildSelector
    )

    Parameters

    selectorPart
    buildSelector
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also