NevronOpenVision
Nevron.Nov.Dom Namespace / NStyleSheet Class / MediaSelector Property
In This Topic
    MediaSelector Property (NStyleSheet)
    In This Topic
    Gets or sets the media selector that specifies the set of medias for which the rules in this style sheet apply to. If the media selector of a stylesheet fails to match a specific media, the entire stylesheet will be excluded from the cascade, even if there are rules in the stylesheet that match the media. A value of null means that the stylesheet applies for all medias. By default set to null.
    Syntax
    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