示例#1
0
 // Remove an inheritance context (this will be a FE/FCE)
 internal override void RemoveInheritanceContext(DependencyObject context, DependencyProperty property)
 {
     InheritanceContextHelper.RemoveInheritanceContext(context,
                                                       this,
                                                       ref _hasMultipleInheritanceContexts,
                                                       ref _inheritanceContext);
 }
示例#2
0
        // Remove an inheritance context (this will be a FE/FCE)
        internal override void RemoveInheritanceContext(DependencyObject context, DependencyProperty property)
        {
            InheritanceContextHelper.RemoveInheritanceContext(context,
                                                              this,
                                                              ref _hasMultipleInheritanceContexts,
                                                              ref _inheritanceContext);

            // after removing a context, we don't know which property caused it
            _propertyForInheritanceContext = null;
        }