Class SwipeViewItem
A SwipeViewItem is an item that must be used as a child of a SwipeView.
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: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class SwipeViewItem : BaseVisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IContextOverrideElement
Constructors
SwipeViewItem()
Default constructor.
Declaration
public SwipeViewItem()
Fields
ussClassName
The main styling class of the SwipeViewItem. This is the class that is used in the USS file.
Declaration
public static readonly string ussClassName
Field Value
Type | Description |
---|---|
string |
Properties
index
The index of the item in the SwipeView.
Declaration
public int index { get; }
Property Value
Type | Description |
---|---|
int |
view
The SwipeView that contains this item.
Declaration
public SwipeView view { get; }
Property Value
Type | Description |
---|---|
SwipeView |