共用方式為


ListField.GetItemSelectable(ShapeElement, ListItemSubField) Method

Definition

Gets a value indicating whether the specified list item is selectable.

public:
 virtual bool GetItemSelectable(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::ListItemSubField ^ listItem);
public virtual bool GetItemSelectable (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.ListItemSubField listItem);
abstract member GetItemSelectable : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ListItemSubField -> bool
override this.GetItemSelectable : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ListItemSubField -> bool
Public Overridable Function GetItemSelectable (parentShape As ShapeElement, listItem As ListItemSubField) As Boolean

Parameters

parentShape
ShapeElement

The ShapeElement to which this ListField belongs.

listItem
ListItemSubField

List item to get selectable value for.

Returns

True if the specified item list item is selectable.

Applies to