Class BaseLinkField
Base class for all UI link fields.
Inheritance
BaseVisualElement
ExVisualElement
BaseLinkField
Implements
IContextOverrideElement
IAdditionalDataHolder
Inherited Members
ExVisualElement.contentContainer
ExVisualElement.outlineColor
ExVisualElement.backgroundColor
ExVisualElement.passMask
BaseVisualElement.contextPrefix
BaseVisualElement.scaleOverride
BaseVisualElement.themeOverride
BaseVisualElement.langOverride
BaseVisualElement.layoutDirectionOverride
BaseVisualElement.preferredTooltipPlacementOverride
BaseVisualElement.tooltipDelayMsOverride
BaseVisualElement.GetLayoutDirectionUssClassName(Dir)
VisualElement.Focus()
VisualElement.Overlaps(Rect)
VisualElement.ToString()
VisualElement.TryGetBinding(BindingId, out Binding)
VisualElement.TryGetDataSourceContext(BindingId, out DataSourceContext)
VisualElement.TryGetLastBindingToUIResult(in BindingId, out BindingResult)
VisualElement.TryGetLastBindingToSourceResult(in BindingId, out BindingResult)
VisualElement.GetFirstOfType<T>()
VisualElement.GetFirstAncestorOfType<T>()
VisualElement.canGrabFocus
VisualElement.focusController
VisualElement.cacheAsBitmap
CallbackEventHandler.RegisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.RegisterCallbackOnce<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.RegisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TUserArgsType, TrickleDown)
CallbackEventHandler.RegisterCallbackOnce<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TUserArgsType, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TrickleDown)
CallbackEventHandler.NotifyPropertyChanged(in BindingId)
Namespace: Unity.Behavior.GraphFramework
Assembly: Unity.Behavior.GraphFramework.dll
Syntax
public class BaseLinkField : ExVisualElement, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IContextOverrideElement, IAdditionalDataHolder
Fields
LinkedLabel
Label describing the link field.
Declaration
protected readonly Label LinkedLabel
Field Value
Type | Description |
---|---|
Label |
Properties
FieldContainer
Field container element.
Declaration
protected VisualElement FieldContainer { get; }
Property Value
Type | Description |
---|---|
VisualElement |
Methods
IsAssignable(Type)
Returns whether a type is assignable to the field.
Declaration
public virtual bool IsAssignable(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | The type to check. |
Returns
Type | Description |
---|---|
bool | Returns true for assignable, false otherwise. |
SetLinkVisuals(VariableModel)
Updates the visuals of a link based on whether there is currently a link and whether the link is to a shared variable.
Declaration
public void SetLinkVisuals(VariableModel variable)
Parameters
Type | Name | Description |
---|---|---|
VariableModel | variable | The variable linked to. |
Implements
Unity.AppUI.UI.IContextOverrideElement
Unity.AppUI.UI.IAdditionalDataHolder