Intersoft ClientUI Documentation
FindVisualDescendant Method
See Also  Send Feedback
Intersoft.Client.Framework Namespace > Utility Class : FindVisualDescendant Method






source
Source.
type
Descendant type.
Finds the descendant visual element of the specified source which matches the given type.

Syntax

Visual Basic (Declaration) 
Public Shared Function FindVisualDescendant( _
   ByVal source As UIElement, _
   ByVal type As Type _
) As DependencyObject
Visual Basic (Usage)Copy Code
Dim source As UIElement
Dim type As Type
Dim value As DependencyObject
 
value = Utility.FindVisualDescendant(source, type)
C# 
public static DependencyObject FindVisualDescendant( 
   UIElement source,
   Type type
)
Delphi 
public function FindVisualDescendant( 
    source: UIElement;
    type: Type
): DependencyObject; static; 
JScript 
public static function FindVisualDescendant( 
   source : UIElement,
   type : Type
) : DependencyObject;
Managed Extensions for C++ 
public: static DependencyObject* FindVisualDescendant( 
   UIElement* source,
   Type* type
) 
C++/CLI 
public:
static DependencyObject^ FindVisualDescendant( 
   UIElement^ source,
   Type^ type
) 

Parameters

source
Source.
type
Descendant type.

Return Value

A dependency object.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.