UpdateProgress.DynamicLayout Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that determines whether the progress template is rendered dynamically.
public:
property bool DynamicLayout { bool get(); void set(bool value); };
public bool DynamicLayout { get; set; }
member this.DynamicLayout : bool with get, set
Public Property DynamicLayout As Boolean
Property Value
true
if the progress template is rendered dynamically; otherwise, false
. The default value is true
.
Remarks
The DynamicLayout property determines whether space for the progress template's contents is allocated on the page only when it is needed.
When the DynamicLayout property is true
, space for the progress template's contents is not allocated when the page is first rendered. Instead, the page changes dynamically to display the contents when it is required. In the style
property of the div
element that contains the progress template in the rendered markup, the display
attribute is set to none
.
When the DynamicLayout property is false
, space for the progress template's contents is allocated when the page is first rendered, and the UpdateProgress control content is physically part of the page layout. In the style
property of the div
element that contains the progress template in the rendered markup, the display
attribute is set to block
, and the visibility
attribute is initially set to hidden
.