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. WPF
  4. shadow for wpf forms

shadow for wpf forms

Scheduled Pinned Locked Moved WPF
csharpwpfdesignquestion
4 Posts 2 Posters 7 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.
  • H Offline
    H Offline
    hamid_m
    wrote on last edited by
    #1

    how can i set shadow for a wpf form (winxp) i want to design a startup form with shadow over desktop

    L 1 Reply Last reply
    0
    • H hamid_m

      how can i set shadow for a wpf form (winxp) i want to design a startup form with shadow over desktop

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      for just the start up form, you can use a borderless window, then use a bitmap effect on the window root element. So if you root element was a Grid, you would apply the bitmap effect to the Grid. There is a good bit of example WPF code out there that explains creating a transparent, borderless (a window without chrome).

      Cheers, Karl » CodeProject 2008 MVP My Blog | Mole's Home Page | How To Create Screen Capture Videos For Your Articles

      Just a grain of sand on the worlds beaches.

      H 1 Reply Last reply
      0
      • L Lost User

        for just the start up form, you can use a borderless window, then use a bitmap effect on the window root element. So if you root element was a Grid, you would apply the bitmap effect to the Grid. There is a good bit of example WPF code out there that explains creating a transparent, borderless (a window without chrome).

        Cheers, Karl » CodeProject 2008 MVP My Blog | Mole's Home Page | How To Create Screen Capture Videos For Your Articles

        Just a grain of sand on the worlds beaches.

        H Offline
        H Offline
        hamid_m
        wrote on last edited by
        #3

        this way is basic and not specified to wpf is there any new properties that make shadow for controls in wpf?

        L 1 Reply Last reply
        0
        • H hamid_m

          this way is basic and not specified to wpf is there any new properties that make shadow for controls in wpf?

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Yes. BitMap effect.

          Cheers, Karl » CodeProject 2008 MVP My Blog | Mole's Home Page | How To Create Screen Capture Videos For Your Articles

          Just a grain of sand on the worlds beaches.

          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