Class Row
Single row control for Table.
Implements
System.IComparable
Namespace: FlaxEditor.GUI
Assembly: FlaxEngine.CSharp.dll
Syntax
public class Row : Control, IComparable, IDrawable
Constructors
Row(Single)
Initializes a new instance of the Row class.
Declaration
public Row(float height = 16F)
Parameters
System.Single
height
The height. |
Properties
BackgroundColors
Gets or sets the cell background colors. Null if unused, transparent values are ignored.
Declaration
public Color[] BackgroundColors { get; set; }
Property Value
Color[]
|
Depth
Gets or sets the row depth level.
Declaration
public int Depth { get; set; }
Property Value
System.Int32
|
Table
Gets the parent table that owns this row.
Declaration
public Table Table { get; }
Property Value
Table
|
Values
Gets or sets the cell values.
Declaration
public object[] Values { get; set; }
Property Value
System.Object[]
|
Methods
Draw()
OnMouseUp(Float2, MouseButton)
When mouse goes up over control's area
Declaration
public override bool OnMouseUp(Float2 location, MouseButton button)
Parameters
Float2
location
Mouse location in Control Space |
MouseButton
button
Mouse buttons state (flags) |
Returns
System.Boolean
True if event has been handled, otherwise false |
Overrides
OnParentChangedInternal()
Action fired when parent control gets changed.
Declaration
protected override void OnParentChangedInternal()
Overrides
OnVisibleChanged()
Called when visible state gets changed.
Declaration
protected override void OnVisibleChanged()