Can the xamCarouselPanel accept other controls as its panel items? I am wanting to have a series of gauges be the items that get scrolled through instead of images. Is this possible? I didn't see anything in the samples that showed how to do this. Since you don't have a gauge in your control set, any example will do, such as a collection of buttons that I can set the values of in each.
The XamCarouselPanel has ChildElements collection, which holds your elements. The collection is read-only so you cannot assign a collection of objects to it. You can use the Add method to add new objects:
xamCarouselPanel.ChildElements.Add(new Button());
Hope this helps.
Good to know! Thanks! How would I go about doing that using C#? WOuld I make a collection of my objects and then add the collection in one shot? Would I loop through the collection and add them one at a time?
The xamCarouselPanel is just a WPF panel and so its Children can be populated with any element type. e.g.