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. How to draw a plus sign and triangles for buttons in WPF?

How to draw a plus sign and triangles for buttons in WPF?

Scheduled Pinned Locked Moved WPF
tutorialcsharpwpfquestion
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.
  • U Offline
    U Offline
    User 2970611
    wrote on last edited by
    #1

    I am looking to use the shape functionality in WPF in order to apply two triangles one pointing up and the other pointing down along with the plus sign to some buttons. Having a look there doesn't seem to be an easy to do this. Does anyone have an example where this can be easily done? Thank

    M O 2 Replies Last reply
    0
    • U User 2970611

      I am looking to use the shape functionality in WPF in order to apply two triangles one pointing up and the other pointing down along with the plus sign to some buttons. Having a look there doesn't seem to be an easy to do this. Does anyone have an example where this can be easily done? Thank

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      Check out the Path class. Triangles and plus signs are easy :)

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      P 1 Reply Last reply
      0
      • M Mark Salsbery

        Check out the Path class. Triangles and plus signs are easy :)

        Mark Salsbery Microsoft MVP - Visual C++ :java:

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

        An easier way is to use an appropriate font. Triangles are just "y" in Wingdings 3.

        Forgive your enemies - it messes with their heads

        My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

        K 1 Reply Last reply
        0
        • P Pete OHanlon

          An easier way is to use an appropriate font. Triangles are just "y" in Wingdings 3.

          Forgive your enemies - it messes with their heads

          My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

          K Offline
          K Offline
          Kunal Chowdhury IN
          wrote on last edited by
          #4

          Yes, for WPF apps one can use the Font but if he wants to use it for Silverlight, he has to create the shape using Path control.

          Silverlight 5 Tutorials :   1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9

          1 Reply Last reply
          0
          • U User 2970611

            I am looking to use the shape functionality in WPF in order to apply two triangles one pointing up and the other pointing down along with the plus sign to some buttons. Having a look there doesn't seem to be an easy to do this. Does anyone have an example where this can be easily done? Thank

            O Offline
            O Offline
            Oludayo Alli
            wrote on last edited by
            #5

            Member 2972992 wrote:

            two triangles one pointing up and the other pointing down along with the plus sign

            It will be easier is you have Expression Blend Installed,the pen tool allow you to draw shape and you can convert a plus in text format to shape

            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