Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


StyleGridLine

Style value + keyword wrapper for a GridLine (grid-column-start / -end, grid-row-start / -end).
Read time 1 minuteLast updated 13 days ago

Definition

public struct StyleGridLine : IStyleValue<GridLine>, IEquatable<StyleGridLine>

Constructors

Constructor

Description

StyleGridLine(UnityEngine.UIElements.GridLine)Creates a new StyleGridLine from a GridLine.
StyleGridLine(UnityEngine.UIElements.StyleKeyword)Creates a new StyleGridLine from a keyword.

Properties

Property

Description

keywordThe style keyword.
valueThe GridLine value.

Operators

Operator

Description

StyleGridLineA positive integer is an explicit line; 0 and negatives throw (see GridLine).