GraphMetadataOptions Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Bit flags used to control the behavior a GraphProperty.
This enumeration supports a bitwise combination of its member values.
public enum class GraphMetadataOptions
[System.Flags]
public enum GraphMetadataOptions
[<System.Flags>]
type GraphMetadataOptions =
Public Enum GraphMetadataOptions
- Inheritance
-
GraphMetadataOptions
- Attributes
Fields
Name | Value | Description |
---|---|---|
None | 0 | |
Immutable | 1 | The property cannot be changed once set. |
Removable | 2 | The property can be removed after it is set. Otherwise it can only be changed, and not removed. |
Browsable | 4 | The property is visible in the UI (such as in tool tips and the property grid). |
Serializable | 8 | The property will be serialized to DGML when the graph is serialized. |
Substitutable | 16 | Any local file paths in the property will be replaced with aliased file paths during serialization. |
Sharable | 32 | The property will be transferred along with the GraphObject when the GraphObject is being copied to another graph. |
Default | 46 | The default set of metadata options. A property with these options will be serializable, removable, browsable (shows up in the UI), and sharable. |
Undoable | 64 | The property might not be serializble, but it needs to be saved on the undo stack and made undoable. Serializable is automatically also undoable, but you might also want properties that are not serializable but are undoable. |