Compartir a través de


LineRoutingRule Class

Definition

Custom rule to tell the design surface when the lines on the diagram need to be rerouted.

public ref class LineRoutingRule : Microsoft::VisualStudio::Modeling::ChangeRule
[Microsoft.VisualStudio.Modeling.RuleOn(typeof(Microsoft.VisualStudio.Modeling.Diagrams.Diagram), FireTime=Microsoft.VisualStudio.Modeling.TimeToFire.TopLevelCommit, Priority=2147483637)]
public class LineRoutingRule : Microsoft.VisualStudio.Modeling.ChangeRule
[<Microsoft.VisualStudio.Modeling.RuleOn(typeof(Microsoft.VisualStudio.Modeling.Diagrams.Diagram), FireTime=Microsoft.VisualStudio.Modeling.TimeToFire.TopLevelCommit, Priority=2147483637)>]
type LineRoutingRule = class
    inherit ChangeRule
Public Class LineRoutingRule
Inherits ChangeRule
Inheritance
LineRoutingRule
Attributes

Constructors

LineRoutingRule()

Properties

FireBefore

returns true if this rule should be fired inline before the change happens

(Inherited from Rule)
FireImmediately

returns true if this rule should be fired inline

(Inherited from Rule)
FireOnLocalCommit

returns true if this rule should be fired at local commit time

(Inherited from Rule)
FireOnTopLevelCommit

returns true if this rule should be fired at top level commit time

(Inherited from Rule)
FireTime

Get or set the time to fire this rule

(Inherited from Rule)
IsEnabled

Gets or Sets whether the Rule is enabled.

(Inherited from Rule)
Priority

Get the priority of this rule

(Inherited from Rule)

Methods

CompareTo(Object)

Compare this rule object with another object

(Inherited from Rule)
CompareTo(Rule)

Query whether this rule is less, greater, or equal to another rule instance.

(Inherited from Rule)
ElementPropertyChanged(ElementPropertyChangedEventArgs)

This method handles the custom rule. When the rule is fired, this method will be called by the IMS rules engine.

Equals(Object)

Equals operator

(Inherited from Rule)
Equals(Rule)

Equals operator

(Inherited from Rule)
GetHashCode()

Get the hash code for this rule

(Inherited from Rule)

Applies to