public static FindVisualAncestor ( this startElement, Predicate | ||
startElement | this | The start element. |
condition | Predicate | The condition. |
maxDepth | int | The maximum number of levels to go up when searching for the parent. If smaller than 0, no maximum is used. |
return | object |