An enumeration for use in various properties
that can take a bitwise combination of item types that make up an IGraph
Namespace: yWorks.yFiles.UI.ModelAssembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.1.0.2
Syntax
| C# |
|---|
[FlagsAttribute] public enum GraphItemTypes |
| Visual Basic |
|---|
<FlagsAttribute> _ Public Enumeration GraphItemTypes |
Members
| Member name | Description | ||
|---|---|---|---|
| Node | 1 | Constant for nodes. | |
| Edge | 2 | Constant for edges. | |
| NodeLabel | 4 | Constant for node labels. | |
| EdgeLabel | 8 | Constant for edge labels. | |
| Port | 16 | Constant for ports. | |
| Label | 12 | Constant for all kinds of labels. | |
| LabeledItem | 3 | Constant for all kinds of ILabeledItem. | |
| Bend | 32 | Constant for node bends. | |
| All | 63 | Constant for all item types. | |
| None | 0 | Constant for no item type. | |
| Is | Determines whether the item is of the specified type. | ||
| ContainsAll | Determines whether the specified items collection contains all of the types described by types. | ||
| Contains | Determines whether the specified items collection contains any of the types described by types. | ||
| NotContains | Determines whether the specified items collection contains none of the types described by types. | ||
| ContainsAll | Determines whether the specified items collection contains all of the types described by types. | ||
| Contains | Determines whether the specified items collection contains any of the types described by types. | ||
| NotContains | Determines whether the specified items collection contains none of the types described by types. | ||
| ContainsAll | Determines whether the specified items collection contains all of the types described by types. | ||
| Contains | Determines whether the specified items collection contains any of the types described by types. | ||
| NotContains | Determines whether the specified items collection contains none of the types described by types. |
Remarks
The enumeration can be used to create bitwise combination of the types.