Represents a line (with an optional shadow).
- Use the line shape control in your user interface to separates a control between different sections of the user interface.
How to use
- Drop a
LineShapecontrol from the object panel to a
- Use the
LineShape Inspectorto customize its properties like
The inspector where the
LineShape class can be configured.
- Drop a
Buttoncontrol from the object panel to a
- Open the
- Select the
Actionitem inside the
Eventsarea and write your custom code in the
LineShape1.isHorizontal = false LineShape1.lineColor = Color.red
Most important properties
Several UI aspects can be configured in the
LineShape class but the
lineColor are the most commons to be configured.
isHorizontal: Flag to set line position from horizontal to vertical.
lineColor: Main line color.
LineShape class reference contains a complete list of properties and methods that can be used to customize a