MobileControl::BreakAfter Property
Gets or sets 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. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
[BrowsableAttribute(true)] [BindableAttribute(true)] public: virtual property bool BreakAfter { bool get (); void set (bool value); }
<asp:MobileControl BreakAfter="True|False" />
Property Value
Type: System::Booleantrue if an additional trailing break is rendered after the control; otherwise, false.
Note |
|---|
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. Check with device manufacturers to determine the effects of this property on their devices.
Control | Device With HTML Browser | Device With WML Browser | Device with WML/UP Browser |
|---|---|---|---|
AdRotator |
|
|
|
Calendar | Yes |
|
|
Command | Yes | Yes |
|
Image | Yes | Yes | Yes |
Label | Yes | Yes | Yes |
Link | Yes | Yes |
|
List |
|
|
|
ObjectList | Yes (unless device's browser can handle tables) |
|
|
Panel (default is false) | Yes | Yes | Yes |
PhoneCall | Yes | Yes |
|
SelectionList | Yes (Unless browser can handle tables) | Yes |
|
TextBox | Yes | Yes |
|
TextView | Yes | Yes |
|
TextViewElement | Yes | Yes |
|
Validator | Yes | Yes | Yes |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Note