<webview2> Element
The <webview2> element is a container for an WebView2control.
The element can have the following child elements:
<script>
The <webview2> element has the following attributes:
height = CDATA
Number specifying the height in pixels to allocate for this control.
hidden = true | false
Default is false. If true, the space for the control is allocated, but the control itself is not displayed.
id = ID
Identifies the control.
resize = none | both | height | width | natural
Default is natural. If width, the control allows horizontal resizing only. If height, the control allows vertical resizing only. If both, the control allows resizing in both directions. If none, the control doesn't resize in either direction. If natural, the control resizes if necessary depending on size changes in its children.
statustext = CDATA
Specifies the text to display in status windows.
width = CDATA
Number specifying the width in pixels to allocate for this control.
withdraw = true | false
Default is false. If true, the control (and any children) is ignored and not displayed.
Est-ce que cela a été utile ?