I was wondering if there is an enum inside .NET that contains all types of media that you can use in css?
Sort of:
/// <summary> /// List of available media types for css (comments from http://www.w3schools.com/css/css_mediatypes.asp) /// </summary> public enum CssMediaType { /// <summary> /// Used for all media type devices /// </summary> all, /// <summary> /// Used for speech and sound synthesizers /// </summary> aural, /// <summary> /// Used for braille tactile feedback devices /// </summary> braille, /// <summary> /// Used for paged braille printers /// </summary> embossed, /// <summary> /// Used for small or handheld devices /// </summary> handheld, /// <summary> /// Used for printers /// </summary> print, /// <summary> /// Used for projected presentations, like slides /// </summary> projection, /// <summary> /// Used for computer screens /// </summary> screen, /// <summary> /// Used for media using a fixed-pitch character grid, like teletypes and terminals /// </summary> tty, /// <summary> /// Used for television-type devices /// </summary> tv }
I never came across one ... but it looks like you already gave him the opportunity :-)
Source: https://habr.com/ru/post/1772861/More articles:Javascript function execution from asp.net codebehind? - javascriptReplace [b] xxx [/ b] with "xxx" in bold - regexΠ―ΡΠ»ΡΠΊ Π΄Π»Ρ ΠΊΠ½ΠΎΠΏΠΊΠΈ "ΠΠ°ΠΌΠ΅Π½ΠΈΡΡ" Π² Π΄ΠΈΠ°Π»ΠΎΠ³ΠΎΠ²ΠΎΠΌ ΠΎΠΊΠ½Π΅ "ΠΠ°ΠΉΡΠΈ ΠΈ Π·Π°ΠΌΠ΅Π½ΠΈΡΡ" - visual-studioX11 ΠΡΠΎΠ³ΡΠ°ΠΌΠΌΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅: ΠΏΠΎΠ»ΡΡΠ°ΡΡ ΡΠ²Π΅Π΄ΠΎΠΌΠ»Π΅Π½ΠΈΠ΅, Π΅ΡΠ»ΠΈ ΠΏΠΎΡΠ²ΠΈΠ»ΠΎΡΡ Π½ΠΎΠ²ΠΎΠ΅ ΠΎΠΊΠ½ΠΎ? - cLists of styles with natural behavior - cssCan I use the Android SDK without using eclipse? - androidAdd a free product if you are over Β£ 50 - magentoAppWidget Update Service does not stop removing widget from host - androidClear results returned from jQuery, PHP, MySQL fields - jquerySetting up a non-bank email account on Blackberry programmatically - emailAll Articles