ListRow Class
Description
Element used as an item inside ArrayPropertyField.
public class ListRow : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle
Inheritance
Constructors
ListRow(ListControl, VisualElement, Int32, Action<Int32>) |
Fields
alternatedUssClassName | USS class name of a row with an alternated background. |
contentUssClassName | USS class name of the row's main content. |
dragHandleUssClassName | USS class name of the drag handle. |
removeButtonUssClassName | USS class name of the remove button. |
ussClassName | USS class name of elements of this type. |
withSeparatorsUssClassName | USS class name of a row with separators. |
Properties
content | The main content of the row. |
Methods
SetAlternatedBackground(Boolean) | Enable/Disable alternated background to differentiate even and odd items. |
SetDragHandle(Boolean) | Show/hide a drag handle. |
SetFeatures(Boolean, Boolean, Boolean, Boolean) | Enable/Disable the row's features. |
SetRemoveButton(Boolean) | Show/hide a remove button. |
SetSeparators(Boolean) | Enable/Disable separators before and after the row. |