SpreadsheetGear 2017
FindCommonVisualAncestor Method (VerticalScrollbarsPresenter)






SpreadsheetGear.Windows.Controls Namespace > VerticalScrollbarsPresenter Class : FindCommonVisualAncestor Method
Syntax
'Declaration
 
Public Function FindCommonVisualAncestor( _
   ByVal otherVisual As System.Windows.DependencyObject _
) As System.Windows.DependencyObject
'Usage
 
Dim instance As VerticalScrollbarsPresenter
Dim otherVisual As System.Windows.DependencyObject
Dim value As System.Windows.DependencyObject
 
value = instance.FindCommonVisualAncestor(otherVisual)
public System.Windows.DependencyObject FindCommonVisualAncestor( 
   System.Windows.DependencyObject otherVisual
)
public function FindCommonVisualAncestor( 
    otherVisual: System.Windows.DependencyObject
): System.Windows.DependencyObject; 
public function FindCommonVisualAncestor( 
   otherVisual : System.Windows.DependencyObject
) : System.Windows.DependencyObject;
public: System.Windows.DependencyObject* FindCommonVisualAncestor( 
   System.Windows.DependencyObject* otherVisual
) 
public:
System.Windows.DependencyObject^ FindCommonVisualAncestor( 
   System.Windows.DependencyObject^ otherVisual
) 

Parameters

otherVisual
Requirements

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

See Also

Reference

VerticalScrollbarsPresenter Class
VerticalScrollbarsPresenter Members