Click or drag to resize

ExtensionsGetInheritanceContext Method

Returns the InheritanceContext of the current DependencyObject

Namespace:  Cauldron.XAML
Assembly:  Cauldron.Win32.WPF (in Cauldron.Win32.WPF.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static DependencyObject GetInheritanceContext(
	this DependencyObject dependencyObject
)

Parameters

dependencyObject
Type: System.WindowsDependencyObject
The dependency object to get the InheritanceContext from

Return Value

Type: DependencyObject
The InheritanceContext of the given dependency object

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DependencyObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also