Compartment.ForwardEventsToParent Property
Gets or sets permission to forward drag-and-drop, key, and mouse events from a child compartment shape to its parent compartment shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Property ForwardEventsToParent As Boolean
'Usage
Dim instance As Compartment
Dim value As Boolean
value = instance.ForwardEventsToParent
instance.ForwardEventsToParent = value
public bool ForwardEventsToParent { get; set; }
public:
property bool ForwardEventsToParent {
bool get ();
void set (bool value);
}
public function get ForwardEventsToParent () : boolean
public function set ForwardEventsToParent (value : boolean)
Property Value
Type: System.Boolean
true if events should be forwarded from a child compartment shape to its parent compartment shape; otherwise, false.
Remarks
These events can be forwarded: drag-and-drop, key press, and mouse click.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.