共用方式為


MoveableDecoratorHostShapeBase.Distance Property

Definition

Gets or sets the value of Distance domain property. Form a polar coordinate using the anchor point as pole and the direction/norm of parent line segment/shape as pole-axis, this is the radial distance of where the center of gravity of this host shape should be.

protected:
 property double Distance { double get(); void set(double value); };
[Microsoft.VisualStudio.Modeling.Design.DescriptionResource("Microsoft.VisualStudio.Modeling.Diagrams.MoveableDecoratorHostShape/Distance.Description", typeof(Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[Microsoft.VisualStudio.Modeling.Design.DisplayNameResource("Microsoft.VisualStudio.Modeling.Diagrams.MoveableDecoratorHostShape/Distance.DisplayName", typeof(Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[Microsoft.VisualStudio.Modeling.DomainObjectId("a26a236f-1651-4e28-b33c-55cf72a4f3d3")]
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.ReadOnly(true)]
protected double Distance { [System.Diagnostics.DebuggerStepThrough] get; [System.Diagnostics.DebuggerStepThrough] set; }
[<Microsoft.VisualStudio.Modeling.Design.DescriptionResource("Microsoft.VisualStudio.Modeling.Diagrams.MoveableDecoratorHostShape/Distance.Description", typeof(Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<Microsoft.VisualStudio.Modeling.Design.DisplayNameResource("Microsoft.VisualStudio.Modeling.Diagrams.MoveableDecoratorHostShape/Distance.DisplayName", typeof(Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<Microsoft.VisualStudio.Modeling.DomainObjectId("a26a236f-1651-4e28-b33c-55cf72a4f3d3")>]
[<System.ComponentModel.Browsable(false)>]
[<System.ComponentModel.ReadOnly(true)>]
[<get: System.Diagnostics.DebuggerStepThrough>]
[<set: System.Diagnostics.DebuggerStepThrough>]
member this.Distance : double with get, set
Protected Property Distance As Double

Property Value

Attributes

Applies to