Class TabButton
Implements
Inherited Members
VisualElement.ExecuteDefaultAction(EventBase)
VisualElement.Focus()
VisualElement.Overlaps(Rect)
VisualElement.ToString()
VisualElement.GetFirstOfType<T>()
VisualElement.GetFirstAncestorOfType<T>()
VisualElement.canGrabFocus
VisualElement.focusController
VisualElement.cacheAsBitmap
CallbackEventHandler.RegisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.RegisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TUserArgsType, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TrickleDown)
Namespace: Global Namespace
Assembly: Unity.ShaderGraph.Editor.dll
Syntax
public class TabButton : VisualElement, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler
Constructors
TabButton()
Declaration
public TabButton()
TabButton(string, VisualElement)
Declaration
public TabButton(string text, VisualElement target)
Parameters
Type | Name | Description |
---|---|---|
string | text | |
VisualElement | target |
Properties
IsCloseable
Declaration
public bool IsCloseable { get; set; }
Property Value
Type | Description |
---|---|
bool |
Target
Declaration
public VisualElement Target { get; set; }
Property Value
Type | Description |
---|---|
VisualElement |
TargetId
Declaration
public string TargetId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
Deselect()
Declaration
public void Deselect()
Select()
Declaration
public void Select()
Events
OnClose
Declaration
public event Action<TabButton> OnClose
Event Type
Type | Description |
---|---|
Action<TabButton> |
OnSelect
Declaration
public event Action<TabButton> OnSelect
Event Type
Type | Description |
---|---|
Action<TabButton> |