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. Scheduler

Scheduler

Scheduled Pinned Locked Moved WPF
tutorial
9 Posts 3 Posters 1 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.
  • A Offline
    A Offline
    aruna_koride
    wrote on last edited by
    #1

    Please advise how to draw bars/rectangles depending upon the appointment we have entered in schedular.I 24 Listboxes for each hour in DayView now.

    L R 2 Replies Last reply
    0
    • A aruna_koride

      Please advise how to draw bars/rectangles depending upon the appointment we have entered in schedular.I 24 Listboxes for each hour in DayView now.

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

      aruna_koride wrote:

      depending upon the appointment we have entered in schedular.I 24

      Can you be more specific. Not sure which product you are needing help on. What is the schedular? If that is a third party control, you would probably get much better help posting to the vendor, since we may not have that control. Have a nice day,

      Cheers, Karl » CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP Profile

      Just a grain of sand on the worlds beaches.

      A 1 Reply Last reply
      0
      • A aruna_koride

        Please advise how to draw bars/rectangles depending upon the appointment we have entered in schedular.I 24 Listboxes for each hour in DayView now.

        R Offline
        R Offline
        RNEELY
        wrote on last edited by
        #3

        http://www.beacosta.com/blog/?p=11[^]

        Sincerely, -Ron

        A 1 Reply Last reply
        0
        • L Lost User

          aruna_koride wrote:

          depending upon the appointment we have entered in schedular.I 24

          Can you be more specific. Not sure which product you are needing help on. What is the schedular? If that is a third party control, you would probably get much better help posting to the vendor, since we may not have that control. Have a nice day,

          Cheers, Karl » CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP Profile

          Just a grain of sand on the worlds beaches.

          A Offline
          A Offline
          aruna_koride
          wrote on last edited by
          #4

          Hi Karl Its not 3rd party control.I am developing it.I have right now few Listboxes joined together to enter appointments, but i want to show boxes/bars same like outlook calendar if tasks are repeated instead of repeating the TEXT. Hope u understood. Please advise

          L 1 Reply Last reply
          0
          • R RNEELY

            http://www.beacosta.com/blog/?p=11[^]

            Sincerely, -Ron

            A Offline
            A Offline
            aruna_koride
            wrote on last edited by
            #5

            Hi Ron Thanks for the link.I will try to use it.

            1 Reply Last reply
            0
            • A aruna_koride

              Hi Karl Its not 3rd party control.I am developing it.I have right now few Listboxes joined together to enter appointments, but i want to show boxes/bars same like outlook calendar if tasks are repeated instead of repeating the TEXT. Hope u understood. Please advise

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

              I noticed a link was provided in a below reply. If this link does not help you, can you post an image or mock up of what you are trying to do? This will help us, help you.

              Cheers, Karl » CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP Profile

              Just a grain of sand on the worlds beaches.

              A 1 Reply Last reply
              0
              • L Lost User

                I noticed a link was provided in a below reply. If this link does not help you, can you post an image or mock up of what you are trying to do? This will help us, help you.

                Cheers, Karl » CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP Profile

                Just a grain of sand on the worlds beaches.

                A Offline
                A Offline
                aruna_koride
                wrote on last edited by
                #7

                Please see the link for an image of what iam trying to do http://www.codeproject.com/KB/selection/Calendardayview.aspx[^ Thanks in advance

                L 1 Reply Last reply
                0
                • A aruna_koride

                  Please see the link for an image of what iam trying to do http://www.codeproject.com/KB/selection/Calendardayview.aspx[^ Thanks in advance

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

                  You may want to consider using a Grid inside a ScrollViewer. The Grid provides a very easy way to have two rows per hour like the picture and then you can add columns as required for each of the actual schedules. The wrapping ScrollViewer allows you to contain the grid in a certain amount of space and then have the user scroll up and down. Then add child border controls that span the required number of Grid.Rows. For example, if you have a 2 hour appointment then you would add that border control and have its RowSpan property set to 4. You can style the border control any way you want. You can then add a TextBlock that displays the text of the appointment. If you have multi-line appoinments you can use some cool features of WPF inside your TextBlock to display formatted text. Check this very simple example out:

                  <TextBlock>
                  <Run FontWeight="Bold">Mole</Run> loves the managed heap<LineBreak />
                  I hope this helps you get started!
                  </TextBlock>

                  Cheers, Karl » CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP Profile

                  Just a grain of sand on the worlds beaches.

                  A 1 Reply Last reply
                  0
                  • L Lost User

                    You may want to consider using a Grid inside a ScrollViewer. The Grid provides a very easy way to have two rows per hour like the picture and then you can add columns as required for each of the actual schedules. The wrapping ScrollViewer allows you to contain the grid in a certain amount of space and then have the user scroll up and down. Then add child border controls that span the required number of Grid.Rows. For example, if you have a 2 hour appointment then you would add that border control and have its RowSpan property set to 4. You can style the border control any way you want. You can then add a TextBlock that displays the text of the appointment. If you have multi-line appoinments you can use some cool features of WPF inside your TextBlock to display formatted text. Check this very simple example out:

                    <TextBlock>
                    <Run FontWeight="Bold">Mole</Run> loves the managed heap<LineBreak />
                    I hope this helps you get started!
                    </TextBlock>

                    Cheers, Karl » CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP Profile

                    Just a grain of sand on the worlds beaches.

                    A Offline
                    A Offline
                    aruna_koride
                    wrote on last edited by
                    #9

                    Hi karl Thanks a lot for your advise.I will try it out :)

                    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