Experimental: this API is experimental and might be changed or removed in the future.

StackNode.AcceptsElement

Cambiar al Manual
protected bool AcceptsElement (Experimental.GraphView.GraphElement element, ref int proposedIndex, int maxIndex);

Parámetros

elementThe element to add.
proposedIndexThe index where the element would be added. This index can be overwritten.
maxIndexThe maximum value of the index.

Valor de retorno

bool Returns true if the specified GraphElement can be added. Returns false otherwise.

Descripción

Checks whether the specified GraphElement can be added to this StackNode.