Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NRule Class / MediaSelector Property


In This Topic
    MediaSelector Property (NRule)
    In This Topic
    Gets or sets the media selector that specifies the set of medias for which this rule applies to. This selector is not taken into account, if the parent style sheet media selector fails to match the media. A value of null means that the stylesheet applies for all medias. By default set to null.
    Syntax
    'Declaration
     
    
    Public Property MediaSelector As NMediaSelector
    'Usage
     
    
    Dim instance As NRule
    Dim value As NMediaSelector
     
    instance.MediaSelector = value
     
    value = instance.MediaSelector
    public NMediaSelector MediaSelector {get; set;}
    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