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


In This Topic
    CreateNthChildOfTypeContext Method
    In This Topic
    Create a new context with an Nth child condition that matches if the element has Step * N + Offset siblings before it.
    Syntax
    'Declaration
     
    
    Protected Friend Function CreateNthChildOfTypeContext( _
       ByVal schema As NSchema, _
       ByVal step As System.Integer, _
       ByVal offset As System.Integer _
    ) As NThemingContext
    'Usage
     
    
    Dim instance As NTheme
    Dim schema As NSchema
    Dim step As System.Integer
    Dim offset As System.Integer
    Dim value As NThemingContext
     
    value = instance.CreateNthChildOfTypeContext(schema, step, offset)
    protected internal NThemingContext CreateNthChildOfTypeContext( 
       NSchema schema,
       System.int step,
       System.int offset
    )

    Parameters

    schema
    step
    offset
    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