C1.Silverlight Namespace > VTreeHelper Class : GetParentOfType Method |
Overload | Description |
---|---|
GetParentOfType(DependencyObject,Type) | Returns a System.Windows.DependencyObject value that represents the parent of the visual object of the specified type. Method looks up the visual tree until the desired parent element is found or parent element is null. |
GetParentOfType(DependencyObject,Type,DependencyObject) | Returns a System.Windows.DependencyObject value that represents the parent of the visual object of the specified type. Method looks up the visual tree until the desired parent element is found or parent element is equal to the specified endObject. |
GetParentOfType(DependencyObject,Type,Boolean) | Returns a System.Windows.DependencyObject value that represents the parent of the visual object of the specified type. Method looks up the visual tree until the desired parent element is found or parent element is null. |
GetParentOfType(DependencyObject,Type,DependencyObject,Boolean) | Returns a System.Windows.DependencyObject value that represents the parent of the visual object of the specified type. Method looks up the visual tree until the desired parent element is found or parent element is equal to the specified endObject. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2