SelectionType Class

Selection Type.When the object is serialized out as xml, its qualified name is xvml:SelType.

Inheritance Hierarchy

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

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

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

14.4.2.58 SelType (Selection Type)

This element specifies the kind of selection for the list box. If omitted, the control is assumed to be Single. Allowed values are:

Value

Description

Single

The listbox shall only have one selected item.

Multi

The listbox can have multiple items selected by clicking on each item.

Extend

The listbox can have multiple items selected by holding a control key and clicking on each item.

This element is used for list boxes.

[Example:

<x:ClientData> …
<x:SelType>Single</x:SelType>
</x:ClientData>

end example]

The possible values for this element are defined by the W3C XML Schema string 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

SelectionType Members

DocumentFormat.OpenXml.Vml.Spreadsheet Namespace