Пример #1
0
        void Attach()
        {
            _contentTemplateProperty.Attach(OnContentTemplateChanged);
            _contentProperty.Attach(OnContentChanged);

            TemplateControlProperty.Attach(OnTemplateControlChanged);
            IsExpandedProperty.Attach(OnExpandedChanged);
        }
Пример #2
0
 void Attach()
 {
     _contentTemplateProperty.Attach(OnContentTemplateChanged);
     _contentProperty.Attach(OnContentChanged);
     HorizontalContentAlignmentProperty.Attach(OnContentAlignmentChanged);
     VerticalContentAlignmentProperty.Attach(OnContentAlignmentChanged);
     TemplateControlProperty.Attach(OnTemplateControlChanged);
 }