GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoObject Class / Movable Property
In This Topic
    Movable Property
    In This Topic
    Gets or sets whether the user can move this object.
    Syntax
    [Category("Behavior")]
    [DefaultValue(true)]
    [Description("Whether users can move this object.")]
    public virtual bool Movable {get; set;}

    Property Value

    This defaults to true. However, for some objects, such as GoLink, this defaults to false. You should normally call the CanMove method instead of getting this property.
    Remarks
    A false value prevents the user from moving this object by the normal mechanisms. Even when this property value is true, this object might not be movable by the user because the layer or document disallows it, or because the view disallows it. Your code can always move objects programmatically by calling obj.Position = newPos. When this object is part of a group, the default drag behavior is to move just the object. However, the DraggingObject really determines what is actually moved. Note that some objects will not be able to move, or will not be able to move freely, because of constraints enforced in setting the Bounds or in the parent's GoGroup.LayoutChildren method.
    See Also