共用方式為


DecoratorHostShape.ForwardEventsToParent Property

Gets or sets whether Key and Mouse events to this class should be forwarded to the parent shape.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Property ForwardEventsToParent As Boolean
    Get
    Set
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

.NET Framework Security

See Also

Reference

DecoratorHostShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace