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 8153307
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T15:58:27+00:00 2026-06-06T15:58:27+00:00

I am building a WPF screen with buttons created from an IList in a

  • 0

I am building a WPF screen with buttons created from an IList in a C# class. It builds and displays the correct number of buttons; but, does not display the text on the buttons that is built from the list items.

I have done this before in another class/screen and it worked fine.

I noticed when debugging that if I hover over the List object in the class that works (BibList), I get the fly-over tip “Inconsistent accessibility: property type ‘System.Collections.Generic.IList’ is less accessible than property ‘BurnIn.UI.Modules.Operations.VieModels.OvenViewModel.BibList’

I don’t get that message in the class that works and it matches what I am seeing (that the XAML can’t see the SlotInfo information); but, everything is public so I don’t see where the accessibility issue is.

Here is the code that declares the list:

namespace BurnIn.UI.Modules.Operations.ViewModels
{
    public class SlotInfo
    {
        public int SlotNumber;
        public string BibName;
    }

    public class OvenViewModel : OvenViewModelBase
    {
        private List<SlotInfo> m_BibList = new List<SlotInfo>();
        public IList<SlotInfo> BibList
        {
            get { return m_BibList; }
        }
  • 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-06T15:58:28+00:00Added an answer on June 6, 2026 at 3:58 pm

    The problem was that the SlotInfo elements were members rather than properties. The fly-over “help” tip was a Red Herring.

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

Sidebar

Related Questions

I'm building a touch screen kiosk application in .NET (C#, WPF). the app itself
I'm building a custom WPF control that derives from TabControl. In the ControlTemplate, I'm
I'm building a touch screen application in WPF and I'm wanting to show a
Hi I am building a wpf application in which a screen will be comprising
I'm not sure if this is a bad way of building an application but
I am building a WPF app using navigation style pages and not windows. I
I'm dynamically building a WPF FlowDocument from a datasource. One of the data elements
I'm building a login screen in WPF. I'm trying to figure out how to
I'm building a toolbar in WPF that needs to host a mix of buttons
I am building a WPF application and while im not a newbie, I am

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.