Class ScrollView
Assembly: UnityEngine.dll
public class ScrollView : VisualElement, IEventHandler, ITransform, IUIElementDataWatch, IEnumerable<VisualElement>, IEnumerable, IVisualElementScheduler, IStyle
Constructors
|
Improve this Doc
View Source
Declaration
Properties
|
Improve this Doc
View Source
contentContainer
Declaration
public override VisualElement contentContainer { get; }
Property Value
Overrides
|
Improve this Doc
View Source
contentView
Declaration
[Obsolete("Please use contentContainer instead", false)]
public VisualElement contentView { get; }
Property Value
|
Improve this Doc
View Source
contentViewport
Declaration
public VisualElement contentViewport { get; }
Property Value
|
Improve this Doc
View Source
horizontalPageSize
Declaration
public float horizontalPageSize { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public Scroller horizontalScroller { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public bool needsHorizontal { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public bool needsVertical { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public Vector2 scrollOffset { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public bool showHorizontal { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public bool showVertical { get; set; }
Property Value
|
Improve this Doc
View Source
stretchContentWidth
Declaration
public bool stretchContentWidth { get; set; }
Property Value
|
Improve this Doc
View Source
verticalPageSize
Declaration
public float verticalPageSize { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public Scroller verticalScroller { get; }
Property Value
Methods
|
Improve this Doc
View Source
Declaration
protected override void ExecuteDefaultAction(EventBase evt)
Parameters
Overrides
|
Improve this Doc
View Source
Declaration
public void ScrollTo(VisualElement child)
Parameters
|
Improve this Doc
View Source
SetContents(VisualElement)
Declaration
public void SetContents(VisualElement contents)
Parameters
Implements
Extension Methods