HasBubbleUpHandlers |
Return true if event handlers for the event propagation BubbleUp phase have been attached on this object.
|
HasTrickleDownHandlers |
Returns true if event handlers, for the event propagation TrickleDown phase, are attached to this object.
|
RegisterCallback |
Adds an event handler to the instance. If the event handler has already been registered for the same phase (either TrickleDown or BubbleUp) then this method has no effect.
|
RegisterCallbackOnce |
Adds an event handler to the instance. If the event handler has already been registered for the same phase (either TrickleDown or BubbleUp) then this method has no effect.
The event handler is automatically unregistered after it has been invoked exactly once.
|
UnregisterCallback |
Remove callback from the instance.
|
Blur |
Tell the element to release the focus.
|
Focus |
Attempt to give the focus to this element.
|
GetGlobalCenter | Get the GraphElement's center point. |
GetPosition | Get the GraphElement position. |
HitTest | See if point is over the GraphElement. |
IsAscendable | Checks if the GraphElement is automatically brought to front when selected. |
IsCopiable | Checks whether the GraphElement is copiable. |
IsDroppable | The GraphElement is drag&droppable. |
IsGroupable | Checks whether the GraphElement is groupable. |
IsMovable | The GraphElement is movable. |
IsRenamable | The GraphElement is renamable. |
IsResizable | The GraphElement is resizable. |
IsSelectable | The GraphElement is selectable. |
IsSelected | The GraphElement is currently selected in specific container. |
IsSnappable | Checks whether the GraphElement is snappable. |
IsStackable | Checks whether the GraphElement is stackable. |
OnSelected | Called when the GraphElement is selected. |
OnUnselected | Called when the GraphElement is unselected. |
ResetLayer | Reset the GraphElement to its original layer. |
Select | Select the GraphElement. |
SetPosition | Set the GraphElement position. |
Unselect | Deselect the GraphElement. |
AddElement | Adds a GraphElement to the Scope. |
AddElements | Adds GraphElements to the Scope. |
ContainsElement | Determines if the Scope contains the specified GraphElement. |
GetPosition | Returns the geometry of the Scope. |
HitTest | Determines whether the specified point is within the selectable area of the Scope. |
Overlaps | Determines whether the specified rect overlaps the Scope. |
RemoveElement | Removes an element from the Scope. |
RemoveElements | Removes elements from the Scope. |
RemoveElementsWithoutNotification | Removes elements from the Scope but do not send a notification. |
SetPosition | Sets the geometry of the Scope. |
UpdateGeometryFromContent | Updates the size and position of the Scope based on its contents. |
Add |
Add an element to this element's contentContainer
|
AddToClassList |
Adds a class to the class list of the element in order to assign styles from USS. Note the class name is case-sensitive.
|
BringToFront |
Brings this element to the end of its parent children list. The element will be visually in front of any overlapping sibling elements.
|
Children |
Returns the elements from its contentContainer.
|
ClassListContains |
Searches for a class in the class list of this element.
|
Clear |
Remove all child elements from this element's contentContainer
|
ClearBinding |
Removes a binding from the element.
|
ClearBindings |
Removes all bindings from the element.
|
ClearClassList |
Removes all classes from the class list of this element.
AddToClassList |
Contains |
Checks if this element is an ancestor of the specified child element.
|
ContainsPoint |
Checks if the specified point intersects with this VisualElement's layout.
|
ElementAt |
Retrieves the child element at a specific index.
|
EnableInClassList |
Enables or disables the class with the given name.
|
FindAncestorUserData |
Searches up the hierarchy of this VisualElement and retrieves stored userData, if any is found.
|
FindCommonAncestor |
Finds the lowest common ancestor between two VisualElements inside the VisualTree hierarchy.
|
GetBinding |
Gets the binding instance for the provided targeted property.
|
GetBindingInfos |
Gets information on all the bindings of the current element.
|
GetClasses |
Retrieve the classes for this element.
|
GetDataSourceContext |
Queries the dataSource and dataSourcePath of a binding object.
|
GetFirstAncestorOfType |
Walks up the hierarchy, starting from this element's parent, and returns the first VisualElement of this type
|
GetFirstOfType |
Walks up the hierarchy, starting from this element, and returns the first VisualElement of this type
|
GetHierarchicalDataSourceContext |
Queries the dataSource and dataSourcePath inherited from the hierarchy.
|
HasBinding |
Allows to know if a target property has a binding associated to it.
|
IndexOf |
Retrieves the child index of the specified VisualElement.
|
Insert |
Insert an element into this element's contentContainer
|
MarkDirtyRepaint |
Triggers a repaint of the VisualElement on the next frame.
This method is called internally when a change occurs that requires a repaint, such as when UIElements.BaseField_1.value is changed or the text in a Label.
If you are implementing a custom control, you can call this method to trigger a repaint when a change occurs that requires a repaint such as when using
generateVisualContent to render a mesh and the mesh data has now changed.
|
PlaceBehind |
Places this element right before the sibling element in their parent children list. If the element and the sibling position overlap, the element will be visually behind of its sibling.
|
PlaceInFront |
Places this element right after the sibling element in their parent children list. If the element and the sibling position overlap, the element will be visually in front of its sibling.
|
Remove |
Removes this child from the contentContainerhierarchy.
|
RemoveAt |
Remove the child element located at this position from this element's contentContainer
|
RemoveFromClassList |
Removes a class from the class list of the element.
|
RemoveFromHierarchy |
Removes this element from its parent hierarchy.
|
SendEvent |
Sends an event to the event handler.
|
SendToBack |
Sends this element to the beginning of its parent children list. The element will be visually behind any overlapping sibling elements.
|
SetBinding |
Assigns a binding between a target and a source.
|
SetEnabled |
Changes the VisualElement enabled state. A disabled VisualElement does not receive most events.
|
Sort |
Reorders child elements from this VisualElement contentContainer.
|
ToggleInClassList |
Toggles between adding and removing the given class name from the class list.
|
TryGetBinding |
Gets the binding instance for the provided targeted property.
|
TryGetDataSourceContext |
Queries the dataSource and dataSourcePath of a binding object.
|