WRTKit Separator Class

Description

The Separator class implements a simple control that can be used to visually separate controls in a view.

Figure 1. Two separators in a view

Inherits from

Control

Constructor

Syntax

[Separator] new Separator(String id)

Description

Creates a new instance of the Separator class.

Arguments


  • id

    Unique identifier for the control. Can be retrieved using the id property defined in the UIElement class that this control inherits from. Useful for example to identify the source of an event in event callback functions or to apply a CSS rule to only this particular control. The identifier can be null, in which case no id will be set for the control.

Return value

A new instance of the Separator class.