Задайте вопросЗадайте вопрос
 

ВопросXAML inheritance?

  • 24 ноября 2006 г. 3:38DiamonDogX Медали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     
    I made a user control with several buttons on it (call them A,B,C), but wanted to make this control a so-called "base class" for other user controls that would extend such a class so that the derived controls would all have the same common set of buttons (A,B,C) but would have their own unique specializations (i.e. the usual use of inheritance).  I haven't had success implementing this relatively simple concept in XAML/C# with user controls... suggestions?  What is the correct way to do such a thing?

Все ответы