/// <summary> /// Initializes the control chain for the anchor point of the callout. /// </summary> /// <remarks> /// The default implementation creates a pass-through <see cref="ControlGraphic"/> that has no user-interactive control methods of its own. /// </remarks> /// <param name="pointGraphic">The anchor point to be controlled.</param> /// <returns>A control graphic chain controlling the anchor point.</returns> protected virtual IControlGraphic InitializePointControlGraphic(IPointGraphic pointGraphic) { return new ControlGraphic(pointGraphic); }
/// <summary> /// Initializes the control chain for the anchor point of the callout. /// </summary> /// <remarks> /// This implementation creates an <see cref="AnchorPointControlGraphic"/> to allow the user to /// interactively move the <see cref="CalloutGraphic.AnchorPoint"/> of the callout. /// </remarks> /// <param name="pointGraphic">The anchor point to be controlled.</param> /// <returns>A control graphic chain controlling the anchor point.</returns> protected override IControlGraphic InitializePointControlGraphic(IPointGraphic pointGraphic) { return(new AnchorPointControlGraphic(base.InitializePointControlGraphic(pointGraphic))); }
/// <summary> /// Initializes the control chain for the anchor point of the callout. /// </summary> /// <remarks> /// This implementation creates an <see cref="AnchorPointControlGraphic"/> to allow the user to /// interactively move the <see cref="CalloutGraphic.AnchorPoint"/> of the callout. /// </remarks> /// <param name="pointGraphic">The anchor point to be controlled.</param> /// <returns>A control graphic chain controlling the anchor point.</returns> protected override IControlGraphic InitializePointControlGraphic(IPointGraphic pointGraphic) { return new AnchorPointControlGraphic(base.InitializePointControlGraphic(pointGraphic)); }
/// <summary> /// Initializes the control chain for the anchor point of the callout. /// </summary> /// <remarks> /// The default implementation creates a pass-through <see cref="ControlGraphic"/> that has no user-interactive control methods of its own. /// </remarks> /// <param name="pointGraphic">The anchor point to be controlled.</param> /// <returns>A control graphic chain controlling the anchor point.</returns> protected virtual IControlGraphic InitializePointControlGraphic(IPointGraphic pointGraphic) { return(new NullControlGraphic(pointGraphic)); }
protected override IControlGraphic InitializePointControlGraphic(IPointGraphic pointGraphic) { return new ControlGraphic(pointGraphic); }