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

  • SEARCH
  • Home
  • 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 8133071
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T09:30:04+00:00 2026-06-06T09:30:04+00:00

Is it possible to have a listbox displaying its items with a control template

  • 0

Is it possible to have a listbox displaying its items with a control template to change their look in the listbox and also have a canvas displaying the listboxItems with another look?

To be more accurate,

I have a UserControl named InfoControl and another named DesignerControl with the same DataContext: a DesignerVM which contains an ObservableCollection of CurveVM.

In my InfoControl, I have a listbox with its items binded to the OC and shown as stackpanels using a template.

Now I want to display my items in the DesignerControl (canvas) but with another look.

Should i have to create another listbox and synchronize it with the first one or is there a way to achieve my goal?

  • 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-06-06T09:30:05+00:00Added an answer on June 6, 2026 at 9:30 am

    Two controls shouldn’t share a listbox. Instead, make two separate listboxes and bind them to the same ItemsSource or DataContext. Use a DataTemplateSelector to control which template is used.

    Edit: And welcome to StackOverflow 🙂

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

Sidebar

Related Questions

Is it possible to have a listbox (or another control that has a SelectedItem)
I have a listbox and I want its ItemsSource to be all the items
I have a ListBox control, that contains a few items that display attachments (files
Is it possible to have a ListBox with a Data Template that changes depending
Is it possible to have select all button in listbox? Any ideas how to
is it possible to have specific text in a listbox line to act like
I have a listbox that has its SelectionMode property set to Multiple. Is it
I have a Listbox that allows user to select multiple items. Normally user can
Within my pc application (WPF), i have an listbox of items. The use is
I have a ListBox when one of the ListBoxItems are selected I want to

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.