Method Check
Check<TElement>(VisualElement, TElement, int, Func<TElement, int, VisualElement>)
Checks if theVisualElementis valid according to the position allowed by the An+B value.
Declaration
protected abstract bool Check<TElement>(VisualElement visualElement, TElement parent, int childCount, Func<TElement, int, VisualElement> getChild)
Parameters
Type | Name | Description |
---|---|---|
VisualElement | visualElement | TheVisualElementto check |
TElement | parent | The targeted parent. |
int | childCount | The number of children. |
Func<TElement,int,VisualElement> | getChild | Method to retrieve the VisualElement child of the current parent. |
Returns
Type |
---|
bool |
Type Parameters
Name | Description |
---|---|
TElement | The type of the parent. |