Results 1 to 2 of 2

Thread: getting element position and size

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2012
    Posts
    3

    getting element position and size

    hello

    i have an element (uniformgrid) and i want to get its position - x,y coordinates.

    also i have a child element inside the uniformgrid, and i want its position and size (by size i mean width and hight in pixels)

  2. #2
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,538

    Re: getting element position and size

    I may be a little naive when it comes to WPF... but shouldn't it be the .Location and .Size properties of the element?

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width