Nevron Open Vision Documentation
NDiagramItem Class Members
Fields  Properties  Methods  Events


The following tables list the members exposed by NDiagramItem.

Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)AllowContextMenuEditPropertyReference to the AllowContextMenuEdit property  
Public Fieldstatic (Shared in Visual Basic)AllowDeletePropertyReference to the AllowDelete property  
Public Fieldstatic (Shared in Visual Basic)AllowSelectPropertyReference to the AllowSelect property  
Public FieldDiagramItemAbilitiesDefines the abilities that apply to all NDiagramItem instances.  
Public Fieldstatic (Shared in Visual Basic)NamePropertyReference to the Name property  
Public Fieldstatic (Shared in Visual Basic)NDiagramItemSchemaSchema associated with NDiagramItem  
Public Fieldstatic (Shared in Visual Basic)ProtectionChangedEventReference to the ProtectionChanged event  
Top
Public Properties
 NameDescription
Public PropertyAllowContextMenuEditGets or sets whether the item is editable via a context menu (e.g. show context menu for the item).  
Public PropertyAllowDeleteGets or sets whether this item can be deleted or not.  
Public PropertyAllowSelectGets or sets whether this item can be selected or not.  
Public PropertyIsPreviewedGets whether the diagram item is previewed  
Public PropertyIsSelectedGets whether the item is selected or not. Automatically updated by Nevron.  
Public PropertyNameGets or sets the name of this diagram item.  
Top
Protected Properties
 NameDescription
Protected PropertyPropertiesItemTextGets the text of the properties context menu item.  
Top
Public Methods
 NameDescription
Public MethodAppendContextMenuItemsAppends custom context menu items.  
Public MethodGetAbilitiesMaskMust override to return the item abilities  
Public MethodGetPermissionsMaskGets the item permissions mask or simply the mask of operations that the user can perform with the item. The permissions mask is calculated as the ItemAbilities minus the ItemProtection. Operations dealing with diagram items always check the items permissions. Certain diagram items may additionally drop certain permissions as they see fit.  
Public MethodGetProtectionMaskGets the item protection mask, which defines the set of item abilities that is not permitted to the user.  
Public MethodSetProtectionMaskSets the protection properties of this item to reflect the specified protection mask.  
Public MethodShowPropertiesDialogMust override to show the properties dialog of the item.  
Public MethodToStringGets the string representation of the shape  
Top
Protected Methods
 NameDescription
Protected MethodOnDeselectedCalled when the item was deselected  
Protected MethodOnNameChangedCalled when the Name property has changed.  
Protected MethodOnProtectionChangedCalled when the item protection has changed. Raises the ProtectionChanged event  
Protected MethodOnSelectedCalled when the item was selected  
Protected MethodOnSelectedChanged  
Top
Public Events
 NameDescription
Public EventProtectionChangedOccurs when a property that affects the item protection has changed.  
Top
See Also

Reference

NDiagramItem Class
Nevron.Nov.Diagram Namespace

 

 


©2017. Nevron Software LLC.

Send Feedback