SpreadsheetGear 2017
FindCommonVisualAncestor Method (FormulaBar)






SpreadsheetGear.Windows.Controls Namespace > FormulaBar Class : FindCommonVisualAncestor Method
Syntax
'Declaration
 
Public Function FindCommonVisualAncestor( _
   ByVal otherVisual As System.Windows.DependencyObject _
) As System.Windows.DependencyObject
'Usage
 
Dim instance As FormulaBar
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

FormulaBar Class
FormulaBar Members