Partager via


ScrollBarMax Class

Scroll Bar Maximum.When the object is serialized out as xml, its qualified name is xvml:Max.

Inheritance Hierarchy

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

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

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

14.4.2.40 Max (Scroll Bar Maximum)

This element specifies the maximum scroll bar position as the index of the list item just above the item at the top of the view when the control is scrolled all the way down. The list indexes are 1-based. If omitted, the value is assumed to be that which allows the last item to be viewed when the control is scrolled all the way down. This element is used for scroll bars and spinners.

[Example: Item 21 is the first item visible in the list when the object is scrolled all the way down.

<x:ClientData> …
<x:Max>20</x:Max>
</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

ScrollBarMax Members

DocumentFormat.OpenXml.Vml.Spreadsheet Namespace