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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Can i create a custom control that will exceed the area of my form

Can i create a custom control that will exceed the area of my form

Scheduled Pinned Locked Moved C#
2 Posts 2 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.
  • N Offline
    N Offline
    Naveed727
    wrote on last edited by
    #1

    Actually I am using an image when the mouse is over on the image i want to increase the size of image,like zoom effect, and it increase the original size of the Image control and it will half appear outside of my form.:confused:

    R 1 Reply Last reply
    0
    • N Naveed727

      Actually I am using an image when the mouse is over on the image i want to increase the size of image,like zoom effect, and it increase the original size of the Image control and it will half appear outside of my form.:confused:

      R Offline
      R Offline
      ReactiveX
      wrote on last edited by
      #2

      No you can't. The form which is the container of your control is like a piece of paper. Your picture can only be drawn within the boundary that your canvas allows. You could end up scribbling on the desk, but GDI+ doesn't like that :)

      Daniel Minnaar Lead Software Developer

      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