Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. I want to use CSS with c# windows application

I want to use CSS with c# windows application

Scheduled Pinned Locked Moved C#
csharpcssdesigntutorial
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    fahad42
    wrote on last edited by
    #1

    Hi all............. I want to use cssClass in c# windows application controls for standard design. But i don't know how link cssclass with a controls of c# windows application. Friends plz give solution with small example. FaHaD

    D M P 3 Replies Last reply
    0
    • F fahad42

      Hi all............. I want to use cssClass in c# windows application controls for standard design. But i don't know how link cssclass with a controls of c# windows application. Friends plz give solution with small example. FaHaD

      D Offline
      D Offline
      Dan Neely
      wrote on last edited by
      #2

      The only way you can use CSS to control a winform app layout is if your presentation layer is a browser control, and your apps backend emits html; instead of using the standard winform controls. :doh:

      Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall

      1 Reply Last reply
      0
      • F fahad42

        Hi all............. I want to use cssClass in c# windows application controls for standard design. But i don't know how link cssclass with a controls of c# windows application. Friends plz give solution with small example. FaHaD

        M Offline
        M Offline
        mghiassi
        wrote on last edited by
        #3

        you can not use css in windows application

        1 Reply Last reply
        0
        • F fahad42

          Hi all............. I want to use cssClass in c# windows application controls for standard design. But i don't know how link cssclass with a controls of c# windows application. Friends plz give solution with small example. FaHaD

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          You can't use CSS with a standard winforms application, but you can achieve an effect similar to CSS if you use WPF, because CSS is used to style web pages - and you can style WPF apps[^].

          Deja View - the feeling that you've seen this post before.

          My blog | My articles

          T 1 Reply Last reply
          0
          • P Pete OHanlon

            You can't use CSS with a standard winforms application, but you can achieve an effect similar to CSS if you use WPF, because CSS is used to style web pages - and you can style WPF apps[^].

            Deja View - the feeling that you've seen this post before.

            My blog | My articles

            T Offline
            T Offline
            The Cake of Deceit
            wrote on last edited by
            #5

            And, XUL. XUL can be styled with CSS.

            Chuck Norris has the greatest Poker-Face of all time. He won the 1983 World Series of Poker, despite holding only a Joker, a Get out of Jail Free Monopoloy card, a 2 of clubs, 7 of spades and a green #4 card from the game UNO.


            In the movie "The Matrix", Chuck Norris is the Matrix. If you pay close attention in the green "falling code" scenes, you can make out the faint texture of his beard.


            Chuck Norris actually owns IBM. It was an extremely hostile takeover.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups