1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545
|
<?xml version="1.0" encoding="utf-8"?>
<Type Name="Panel" FullName="System.Web.UI.WebControls.Panel">
<TypeSignature Language="C#" Maintainer="auto" Value="public class Panel : System.Web.UI.WebControls.WebControl" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyPublicKey>
</AssemblyPublicKey>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
<Base>
<BaseTypeName>System.Web.UI.WebControls.WebControl</BaseTypeName>
</Base>
<Interfaces>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName>System.Web.UI.ToolboxData("<{0}:Panel runat=server>Panel</{0}:Panel>")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Web.UI.PersistChildren(true)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Web.UI.ParseChildren(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.Designer("System.Web.UI.Design.WebControls.PanelDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.IDesigner")</AttributeName>
</Attribute>
</Attributes>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>In this topic:</para>
<list type="bullet">
<item>
<para>
<format type="text/html">
<a href="#introduction">Introduction</a>
</format>
</para>
</item>
<item>
<para>
<format type="text/html">
<a href="#declarative_syntax">Declarative Syntax</a>
</format>
</para>
</item>
</list>
<format type="text/html">
<a href="#introduction" />
</format>
<format type="text/html">
<h2>Introduction</h2>
</format>
<para>The <see cref="T:System.Web.UI.WebControls.Panel" /> control is a container for other controls. It is especially useful when you want to generate controls programmatically, hide/show a group of controls, or localize a group of controls.</para>
<para>The <see cref="P:System.Web.UI.WebControls.Panel.Direction" /> property is useful for localizing a <see cref="T:System.Web.UI.WebControls.Panel" /> control's content to display text for languages that are written from right to left, such as Arabic or Hebrew.</para>
<para>The <see cref="T:System.Web.UI.WebControls.Panel" /> control provides several properties that allow you to customize the behavior and display of its contents. Use the <see cref="P:System.Web.UI.WebControls.Panel.BackImageUrl" /> property to display a custom image for the <see cref="T:System.Web.UI.WebControls.Panel" /> control. Use the <see cref="P:System.Web.UI.WebControls.Panel.ScrollBars" /> property to specify scroll bars for the control. </para>
<format type="text/html">
<a href="#declarative_syntax" />
</format>
<format type="text/html">
<h2>Declarative Syntax</h2>
</format>
<code><asp:Panel
AccessKey="string"
BackColor="color name|#dddddd"
BackImageUrl="uri"
BorderColor="color name|#dddddd"
BorderStyle="<codeFeaturedElement>NotSet</codeFeaturedElement>|None|Dotted|Dashed|Solid|Double|Groove|Ridge|
Inset|Outset"
BorderWidth="size"
CssClass="string"
DefaultButton="string"
Direction="<codeFeaturedElement>NotSet</codeFeaturedElement>|LeftToRight|RightToLeft"
Enabled="<codeFeaturedElement>True</codeFeaturedElement>|False"
EnableTheming="<codeFeaturedElement>True</codeFeaturedElement>|False"
EnableViewState="<codeFeaturedElement>True</codeFeaturedElement>|False"
Font-Bold="True|<codeFeaturedElement>False</codeFeaturedElement>"
Font-Italic="True|<codeFeaturedElement>False</codeFeaturedElement>"
Font-Names="string"
Font-Overline="True|<codeFeaturedElement>False</codeFeaturedElement>"
Font-Size="string|Smaller|Larger|XX-Small|X-Small|Small|Medium|
Large|X-Large|XX-Large"
Font-Strikeout="True|<codeFeaturedElement>False</codeFeaturedElement>"
Font-Underline="True|<codeFeaturedElement>False</codeFeaturedElement>"
ForeColor="color name|#dddddd"
GroupingText="string"
Height="size"
HorizontalAlign="<codeFeaturedElement>NotSet</codeFeaturedElement>|Left|Center|Right|Justify"
ID="string"
OnDataBinding="DataBinding event handler"
OnDisposed="Disposed event handler"
OnInit="Init event handler"
OnLoad="Load event handler"
OnPreRender="PreRender event handler"
OnUnload="Unload event handler"
runat="server"
ScrollBars="<codeFeaturedElement>None</codeFeaturedElement>|Horizontal|Vertical|Both|Auto"
SkinID="string"
Style="string"
TabIndex="integer"
ToolTip="string"
Visible="<codeFeaturedElement>True</codeFeaturedElement>|False"
Width="size"
Wrap="<codeFeaturedElement>True</codeFeaturedElement>|False"
/></code>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Represents a control that acts as a container for other controls.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Panel ();" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Web.UI.WebControls.Panel" /> class.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="AddAttributesToRender">
<MemberSignature Language="C#" Value="protected override void AddAttributesToRender (System.Web.UI.HtmlTextWriter w);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="w" Type="System.Web.UI.HtmlTextWriter" />
</Parameters>
<Docs>
<param name="w">a <see cref="T:System.Web.UI.HtmlTextWriter" /></param>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="M:System.Web.UI.WebControls.Panel.AddAttributesToRender(System.Web.UI.HtmlTextWriter)" /> method is used primarily by control developers.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Adds information about the background image, alignment, wrap, and direction to the list of attributes to render.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="BackImageUrl">
<MemberSignature Language="C#" Value="public virtual string BackImageUrl { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<value>To be added: an object of type 'string'</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use this property to display a custom image for the <see cref="T:System.Web.UI.WebControls.Panel" /> control.</para>
<para>If the image is smaller than the <see cref="T:System.Web.UI.WebControls.Panel" />, it will be tiled to fill in the <see cref="T:System.Web.UI.WebControls.Panel" />.</para>
<block subset="none" type="note">
<para>This property is supported only on browsers that support HTML 4.0 or later.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the URL of the background image for the panel control.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Editor("System.Web.UI.Design.ImageUrlEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(System.Drawing.Design.UITypeEditor))</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.DefaultValue("")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.Bindable(true)</AttributeName>
</Attribute>
</Attributes>
</Member>
<Member MemberName="CreateControlStyle">
<MemberSignature Language="C#" Value="protected override System.Web.UI.WebControls.Style CreateControlStyle ();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.Style</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="M:System.Web.UI.WebControls.Panel.CreateControlStyle" /> method is used primarily by control developers.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Creates a style object that is used internally by the <see cref="T:System.Web.UI.WebControls.Panel" /> control to implement all style related properties.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.Web.UI.WebControls.PanelStyle" /> that contains the style properties of the control.</para>
</returns>
</Docs>
</Member>
<Member MemberName="DefaultButton">
<MemberSignature Language="C#" Value="public virtual string DefaultButton { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Web.UI.Themeable(false)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use the <see cref="P:System.Web.UI.WebControls.Panel.DefaultButton" /> property to indicate which button gets clicked when the <see cref="T:System.Web.UI.WebControls.Panel" /> control has focus and the user presses the ENTER key. The <see cref="P:System.Web.UI.WebControls.Panel.DefaultButton" /> can be set to the identifier for a <see cref="T:System.Web.UI.WebControls.Button" /> control or any control that implements the <see cref="T:System.Web.UI.WebControls.IButtonControl" /> interface except a <see cref="T:System.Web.UI.WebControls.LinkButton" /> control. </para>
<para>If the <see cref="P:System.Web.UI.WebControls.Panel.DefaultButton" /> is set to a control that does not implement the <see cref="T:System.Web.UI.WebControls.IButtonControl" /> interface, or to a control that is not contained in the <see cref="T:System.Web.UI.WebControls.Panel" /> control, the <see cref="T:System.Web.UI.WebControls.Panel" /> control throws an exception while rendering.</para>
<para>Setting the <see cref="P:System.Web.UI.WebControls.Panel.DefaultButton" /> property is not supported for the following scenarios:</para>
<list type="bullet">
<item>
<para>Setting focus outside of the input controls in the panel and then pressing the ENTER key. The default post back action is not guaranteed to trigger.</para>
</item>
<item>
<para>Pressing the ENTER key with focus inside a multi-line textbox. In a multi-line textbox, pressing the ENTER key should create a new line in the textbox which is the expected behavior. In browsers where the pressing the ENTER key inside a multi-line textbox triggers a post back but you want the ENTER key to create a new line instead you can attach a JavaScript function to the input control. The script should capture the ENTER key and stop the post back. For example, you can use the <see cref="P:System.Web.UI.WebControls.WebControl.Attributes" /> property collection to add client script for the onKeyPress event.</para>
</item>
<item>
<para>Referencing a default button that is a <see cref="T:System.Web.UI.WebControls.LinkButton" /> control. Only <see cref="T:System.Web.UI.WebControls.Button" /> and <see cref="T:System.Web.UI.WebControls.ImageButton" /> controls are supported. </para>
</item>
<item>
<para>Changing the <see cref="P:System.Web.UI.WebControls.Panel.DefaultButton" /> programmatically during an asynchronous post back when the <see cref="T:System.Web.UI.WebControls.Panel" /> control is not inside of an <see cref="T:System.Web.UI.UpdatePanel" /> control. Asynchronous post backs can be enabled on a page by adding one or more <see cref="T:System.Web.UI.UpdatePanel" /> controls to the page. <see cref="T:System.Web.UI.UpdatePanel" /> controls can be used to update selected regions of a page instead of updating the whole page with a postback. For more information, see <format type="text/html"><a href="29a2265d-9674-4c19-b70e-e5560ee9689a">UpdatePanel Control Overview</a></format> and <format type="text/html"><a href="5c12736d-d9e9-464a-9388-3fe0f9f49e49">Partial-Page Rendering Overview</a></format>. </para>
</item>
<item>
<para>Setting this property by themes or style sheet themes. For more information, see <see cref="T:System.Web.UI.ThemeableAttribute" /> and <format type="text/html"><a href="5df3ebbd-d46c-4502-9406-02f9df4ef2c3">ASP.NET Themes Overview</a></format>.</para>
</item>
</list>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the identifier for the default button that is contained in the <see cref="T:System.Web.UI.WebControls.Panel" /> control.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Direction">
<MemberSignature Language="C#" Value="public virtual System.Web.UI.WebControls.ContentDirection Direction { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.ContentDirection</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use the <see cref="P:System.Web.UI.WebControls.Panel.Direction" /> property to specify the display direction for controls that include text in a <see cref="T:System.Web.UI.WebControls.Panel" /> control. This property is set using one of the <see cref="T:System.Web.UI.WebControls.ContentDirection" /> enumeration values. The following table lists the possible values.</para>
<list type="table">
<listheader>
<item>
<term>
<para>Value </para>
</term>
<description>
<para>Description </para>
</description>
</item>
</listheader>
<item>
<term>
<para>NotSet </para>
</term>
<description>
<para>The content direction is not set. </para>
</description>
</item>
<item>
<term>
<para>LeftToRight </para>
</term>
<description>
<para>The content direction is left to right. </para>
</description>
</item>
<item>
<term>
<para>RightToLeft </para>
</term>
<description>
<para>The content direction is right to left. </para>
</description>
</item>
</list>
<para>If you specify LeftToRight, child controls that include text display from left to right. If you specify RightToLeft, child controls that include text display right to left. Use RightToLeft to display text for languages that are written from right to left, such as Arabic or Hebrew.</para>
<block subset="none" type="note">
<para>This property is supported only on browsers that support HTML 4.0 or later.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the direction in which to display controls that include text in a <see cref="T:System.Web.UI.WebControls.Panel" /> control.</para>
</summary>
</Docs>
</Member>
<Member MemberName="GroupingText">
<MemberSignature Language="C#" Value="public virtual string GroupingText { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Localizable(true)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use the <see cref="P:System.Web.UI.WebControls.Panel.GroupingText" /> property to display a frame and caption for the group of controls that is contained in the <see cref="T:System.Web.UI.WebControls.Panel" /> control.</para>
<para>The <see cref="P:System.Web.UI.WebControls.Panel.GroupingText" /> value of a <see cref="T:System.Web.UI.WebControls.Panel" /> control is rendered using the FIELDSET and LEGEND elements, which were introduced in the HTML 4.0 specification. If the client browser uses HTML 3.2, the <see cref="P:System.Web.UI.WebControls.Panel.GroupingText" /> value is not rendered. Refer to your client browser documentation for details on how the FIELDSET and LEGEND elements are displayed.</para>
<para>The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see <see cref="T:System.ComponentModel.LocalizableAttribute" /> and <format type="text/html"><a href="8ef3838e-9d05-4236-9dd0-ceecff9df80d">ASP.NET Globalization and Localization</a></format>.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the caption for the group of controls that is contained in the panel control.</para>
</summary>
</Docs>
</Member>
<Member MemberName="HorizontalAlign">
<MemberSignature Language="C#" Value="public virtual System.Web.UI.WebControls.HorizontalAlign HorizontalAlign { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.HorizontalAlign</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<value>To be added: an object of type 'HorizontalAlign'</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use this property to specify the alignment of the elements in the <see cref="T:System.Web.UI.WebControls.Panel" />.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the horizontal alignment of the contents within the panel.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.DefaultValue(System.Web.UI.WebControls.HorizontalAlign.NotSet)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.Bindable(true)</AttributeName>
</Attribute>
</Attributes>
</Member>
<Member MemberName="RenderBeginTag">
<MemberSignature Language="C#" Value="public override void RenderBeginTag (System.Web.UI.HtmlTextWriter writer);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="writer" Type="System.Web.UI.HtmlTextWriter" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="M:System.Web.UI.WebControls.Panel.RenderBeginTag(System.Web.UI.HtmlTextWriter)" /> method is used primarily by control developers.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Renders the HTML opening tag of the <see cref="T:System.Web.UI.WebControls.Panel" /> control to the specified writer.</para>
</summary>
<param name="writer">
<attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.Web.UI.HtmlTextWriter" /> that represents the output stream to render HTML content on the client.</param>
</Docs>
</Member>
<Member MemberName="RenderEndTag">
<MemberSignature Language="C#" Value="public override void RenderEndTag (System.Web.UI.HtmlTextWriter writer);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="writer" Type="System.Web.UI.HtmlTextWriter" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="M:System.Web.UI.WebControls.Panel.RenderEndTag(System.Web.UI.HtmlTextWriter)" /> method is used primarily by control developers.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Renders the HTML closing tag of the <see cref="T:System.Web.UI.WebControls.Panel" /> control into the specified writer.</para>
</summary>
<param name="writer">
<attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.Web.UI.HtmlTextWriter" /> that represents the output stream to render HTML content on the client. </param>
</Docs>
</Member>
<Member MemberName="ScrollBars">
<MemberSignature Language="C#" Value="public virtual System.Web.UI.WebControls.ScrollBars ScrollBars { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.ScrollBars</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use the <see cref="P:System.Web.UI.WebControls.Panel.ScrollBars" /> property to specify the visibility and position of scroll bars in a <see cref="T:System.Web.UI.WebControls.Panel" /> control. This property is set using one of the <see cref="T:System.Web.UI.WebControls.ScrollBars" /> enumeration values. The following table lists the possible values.</para>
<list type="table">
<listheader>
<item>
<term>
<para>Value </para>
</term>
<description>
<para>Description </para>
</description>
</item>
</listheader>
<item>
<term>
<para>None </para>
</term>
<description>
<para>No scroll bars are shown. </para>
</description>
</item>
<item>
<term>
<para>Horizontal </para>
</term>
<description>
<para>Only a horizontal scroll bar is shown. </para>
</description>
</item>
<item>
<term>
<para>Vertical </para>
</term>
<description>
<para>Only a vertical scroll bar is shown. </para>
</description>
</item>
<item>
<term>
<para>Both </para>
</term>
<description>
<para>Both horizontal and vertical scroll bars are shown. </para>
</description>
</item>
<item>
<term>
<para>Auto </para>
</term>
<description>
<para>If necessary, horizontal, vertical, or both scroll bars are shown. Otherwise, no scroll bars are shown. </para>
</description>
</item>
</list>
<para>If you specify Auto for the <see cref="P:System.Web.UI.WebControls.Panel.ScrollBars" /> property, scroll bars are automatically shown when the size of the content in a <see cref="T:System.Web.UI.WebControls.Panel" /> control exceeds the size of the <see cref="T:System.Web.UI.WebControls.Panel" /> control itself. For example, if a <see cref="T:System.Web.UI.WebControls.Panel" /> control contains a table, and the panel is not wide enough to display all the rows in the table, a vertical scroll bar is shown. If the size of the table exceeds the height and width of the panel, both vertical and horizontal scroll bars are shown.</para>
<block subset="none" type="note">
<para>This property is supported only on browsers that support HTML 4.0 or later.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the visibility and position of scroll bars in a <see cref="T:System.Web.UI.WebControls.Panel" /> control.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Wrap">
<MemberSignature Language="C#" Value="public virtual bool Wrap { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<value>To be added: an object of type 'bool'</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use this property to wrap the contents of the <see cref="T:System.Web.UI.WebControls.Panel" />.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets a value indicating whether the content wraps within the panel.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.DefaultValue(true)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.Bindable(true)</AttributeName>
</Attribute>
</Attributes>
</Member>
</Members>
</Type>
|