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

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

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. Replies:
    2
    Views:
    407
    Raymond DeCampo
    Feb 25, 2006
  2. Dan
    Replies:
    1
    Views:
    8,665
    ainigma
    Apr 4, 2008
  3. David Graham

    span top bottom border missing

    David Graham, Dec 2, 2003, in forum: HTML
    Replies:
    0
    Views:
    591
    David Graham
    Dec 2, 2003
  4. Steve Pugh
    Replies:
    3
    Views:
    581
    Scott_From_PA
    Feb 11, 2005
  5. Noozer
    Replies:
    1
    Views:
    7,513
    Carolyn Marenger
    Mar 13, 2006
  6. phl
    Replies:
    1
    Views:
    4,709
    Martin Jay
    Jun 8, 2006
  7. Cuthbert
    Replies:
    8
    Views:
    703
    Ancient_Hacker
    Sep 13, 2006
  8. Ian Hobson
    Replies:
    0
    Views:
    361
    Ian Hobson
    Jun 27, 2010
Loading...