You will have to write code to handle this yourself.
Some existing API types, such as the UIElement → FrameworkElement → Control hierarchy, implement some form of “value inheritance”, for example FontFamily , etc. However, the code inside these types handles this; there is no general mechanism to support the concept.
source share