Поделиться через


ScrollBarPosition Class

Scroll bar position.When the object is serialized out as xml, its qualified name is xvml:Val.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.OpenXmlLeafTextElement
        DocumentFormat.OpenXml.Vml.Spreadsheet.ScrollBarPosition

Namespace:  DocumentFormat.OpenXml.Vml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class ScrollBarPosition _
    Inherits OpenXmlLeafTextElement
'Usage
Dim instance As ScrollBarPosition
public class ScrollBarPosition : OpenXmlLeafTextElement

Remarks

[ISO/IEC 29500-1 1st Edition]

14.4.2.63 Val (Scroll bar position)

This element specifies the scroll bar position as the index of the list item just above the item at the top of the view, given the current scroll position. The list indexes are 1-based. If omitted, the value is assumed to be 0. This element is used for scroll bars and spinners.

[Example: The first list item (item 1) is just off the top of the view. The second list item is at the top of the view.

<x:ClientData> …
<x:Val>1</x:Val>
</x:ClientData>

end example]

The possible values for this element are defined by the W3C XML Schema integer datatype.

Parent Elements

ClientData (§14.4.2.12)

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ScrollBarPosition Members

DocumentFormat.OpenXml.Vml.Spreadsheet Namespace