Posted 16 years ago
by Crile Carvey
Given this in XAML:
I'd like to do something like this in the code:
But Visual Studio Intellisense doesn't think it is a good idea.
Any hints?
Crile
[Modified at 11/17/2008 08:12 PM]
<ribbon:StackPanel x:Name="ListButtonPanel" >
<ribbon:PopupButton Label="Button" />
</ribbon:StackPanel>
PopupButton pb = new PopupButton();
pb.Label="New button";
ListButtonPanel.Children.Add(pb);
Any hints?
Crile
[Modified at 11/17/2008 08:12 PM]