Tries to find cell element on which the context menu was opened. Returns FrameworkElement corresponding to the cell if such element is found or null if not.

Namespace: Ico.WPF.Specialized.DataGridControl
Assembly: IcoWPFSpecialized (in IcoWPFSpecialized.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public FrameworkElement FindCellElementFromChild(
	FrameworkElement originalSource
)
Visual Basic
Public Function FindCellElementFromChild ( _
	originalSource As FrameworkElement _
) As FrameworkElement
JScript
public function FindCellElementFromChild(
	originalSource : FrameworkElement
) : FrameworkElement

Parameters

originalSource
Type: System.Windows..::..FrameworkElement
Original source of some event which should be child of a cell

Return Value

Element if found, null otherwise

See Also