Share via


GroupShapeLocks.NoSelection Property

Disallow Shape Selection.Represents the attribte in schema: noSelect

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

Syntax

'Declaration
<SchemaAttrAttribute(, "noSelect")> _
Public Property NoSelection As BooleanValue
    Get
    Set
'Usage
Dim instance As GroupShapeLocks
Dim value As BooleanValue

value = instance.NoSelection

instance.NoSelection = value
[SchemaAttrAttribute(, "noSelect")]
public BooleanValue NoSelection { get; set; }

Property Value

Type: DocumentFormat.OpenXml.BooleanValue
Returns BooleanValue.

Remarks

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

Specifies that the corresponding group shape cannot have any part of it be selected. That means that no picture, shapes or attached text can be selected either if this attribute has been specified. If this attribute is not specified, then a value of false is assumed.

This property is inherited by sub-elements and thus all shapes within the group shape cannot be selected when this attribute is set to a value of true.

The possible values for this attribute are defined by the XML Schema boolean datatype.

See Also

Reference

GroupShapeLocks Class

GroupShapeLocks Members

DocumentFormat.OpenXml.Drawing Namespace