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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Property ForwardEventsToParent As Boolean
public bool ForwardEventsToParent { get; set; }
public:
property bool ForwardEventsToParent {
bool get ();
void set (bool value);
}
member ForwardEventsToParent : bool with get, set
function get ForwardEventsToParent () : boolean
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.