BreakAfter Property (Common)
Sets or returns a property that determines whether an additional trailing break is rendered after the control. This break causes subsequent content to start on the next line. The default is true.
public virtual bool BreakAfter {
get,
set
}
Remarks
Do not set this property to true on a Form control. If you set this property to true, the control will throw an exception.
This property is ignored by controls for which a trailing break does not make sense. The following table lists the controls that support the BreakAfter property for certain kinds of devices. The following table shows the controls with the types of devices that support the BreakAfter property.
Control | Device with HTML browser | Device with WML browser | Device with WML/UP browser |
---|---|---|---|
AdRotator | |||
Calendar | Y | ||
Command | Y | Y | |
Image | Y | Y | Y |
Label | Y | Y | Y |
Link | Y | Y | |
List | |||
ObjectList | Y
(unless device's browser can handle tables) |
||
Panel (default is false) | Y | Y | Y |
PhoneCall | Y | Y | |
SelectionList | Y (unless device's browser can handle tables) | Y | |
TextBox | Y | Y | |
TextView | Y | Y | |
TextViewElement | Y | Y | |
Validator | Y | Y | Y |
See Also
Applies to: Form Class | MobileControl Class | TemplateContainer Class | TextViewElement Class