stackpanel and border on bottom

Discussion in 'ASP .Net' started by tshad, Feb 20, 2010.

  1. tshad

    tshad Guest

    I have stackpanel that includes a border (with nothing in it) that I am
    using just for looks.

    The StackPanel fills the rest of a DockPanel area where I have other
    objects. The bottom of the StackPanel has about 2 inches of space.

    I am trying to put the border piece below the TextBlocks and at the bottom
    of the StackPanel. So I set the VerticalAlignment="Bottom" but it just puts
    the Border object just below the last TextBlock and not at the bottom of the
    StackPanel.

    Maybe you can't do this with a stack panel but was just curious. I know the
    idea of the StackPanel is to stack items on top of each other or next to
    each other, so maybe you can't get there from here.

    Thanks,

    Tom
     
    tshad, Feb 20, 2010
    #1
    1. Advertising

  2. Gregory A. Beamer, Feb 21, 2010
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dan
    Replies:
    1
    Views:
    8,385
    ainigma
    Apr 4, 2008
  2. Noozer
    Replies:
    1
    Views:
    7,184
    Carolyn Marenger
    Mar 13, 2006
  3. phl
    Replies:
    1
    Views:
    4,366
    Martin Jay
    Jun 8, 2006
  4. Cuthbert
    Replies:
    8
    Views:
    441
    Ancient_Hacker
    Sep 13, 2006
  5. Ian Hobson
    Replies:
    0
    Views:
    282
    Ian Hobson
    Jun 27, 2010
Loading...

Share This Page