Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6727415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:02:48+00:00 2026-05-26T10:02:48+00:00

I have a listbox that’s binded to data, each item that’s in the listbox

  • 0

I have a listbox that’s binded to data, each item that’s in the listbox i would like to have rounded corners. I’ve used a border tag, but it doesn’t seem to be having any effect.

Here’s the code i’m using;

<ListBox Name="lstbMenu" Margin="0,190,6,6" Height="488">

                <ListBox.ItemTemplate>

                    <DataTemplate>
                    <Border CornerRadius="10">
                        <StackPanel Orientation="Horizontal" Margin="10" Background="Beige" Width="488">
                            <StackPanel Orientation="Vertical">
                                <Image Source="Images/1_0_1_1B59_7DA_2_11A0000_0_0_0.png" VerticalAlignment="Center" Height="80" Width="80" Margin="10"/>
                            </StackPanel>
                            <TextBlock Text="{Binding Path=menuText}" VerticalAlignment="Center" Margin="10" FontSize="20" />
                            <TextBlock Text="{Binding Path=menuPage}" Visibility="Collapsed" />
                        </StackPanel>
                    </Border>
                </DataTemplate>

                </ListBox.ItemTemplate>

        </ListBox>

Does anyone have any idea’s?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T10:02:49+00:00Added an answer on May 26, 2026 at 10:02 am

    By default a Border has a transparent background and a border thickness of 0. You need to set the Background, BorderBrush and BorderThickness properties of the Border.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a listbox with a style that has rounded corners. I'd like to
I have a ListBox that is used as a navigation menu. When an item
I have a ListBox that when in focus, and when I have an item
I currently have a listbox that has its selected item bound to a property
I have a ListBox that is bound to a list of CustomerViewModel-objects, that each
I have a listbox that a user can select multiple values from . each
I have a listbox that uses a UserControl as the item template. Inside the
I have a ListBox that is being bound to data from a WCF service.
In Silverlight, I have a Vertical ListBox that has a Horizontal ListBox for each
I have a ObservableCollection> property that I would like to display in a list

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.