ScrollbarVisibility.Val Property

Scrollbar Display Option Value.Represents the attribte in schema: w:val

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "val")> _
Public Property Val As EnumValue(Of FrameScrollbarVisibilityValues)
    Get
    Set
'Usage
Dim instance As ScrollbarVisibility
Dim value As EnumValue(Of FrameScrollbarVisibilityValues)

value = instance.Val

instance.Val = value
[SchemaAttrAttribute(, "val")]
public EnumValue<FrameScrollbarVisibilityValues> Val { get; set; }

Property Value

Type: DocumentFormat.OpenXml.EnumValue<FrameScrollbarVisibilityValues>
Returns EnumValue<T>.

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies the criteria under which a scrollbar shall be displayed along with the contents of this frameset, as defined by the simple type referenced below.

Consider a frameset definition within a WordprocessingML document which defines the following scrollbar visibility setting:

<w:frame>
  <w:scrollbar w:val="on" />
  …
</w:frame>

The val attribute value of on specifies that the scrollbar shall always be displayed, even when it is not needed (in other words, when it would be displayed disabled).

The possible values for this attribute are defined by the ST_FrameScrollbar simple type.

See Also

Reference

ScrollbarVisibility Class

ScrollbarVisibility Members

DocumentFormat.OpenXml.Wordprocessing Namespace