Wrap Property
Collapse the table of content
Expand the table of content

Panel::Wrap Property

 

Gets or sets a value indicating whether the content wraps within the panel.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public:
property bool Wrap {
	virtual bool get();
	virtual void set(bool value);
}

Property Value

Type: System::Boolean

true if the content wraps within the panel; otherwise, false. The default is true.

Use this property to wrap the contents of the Panel.

The following example illustrates how to programmatically set the Wrap property of the Panel control.

System_CAPS_noteNote

The following code sample uses the single-file code model and may not work correctly if copied directly into a code-behind file. This code sample must be copied into an empty text file that has an .aspx extension. For more information on the Web Forms code model, see ASP.NET Web Forms Page Code Model.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft