GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoLayer Class / AllowMove Property
In This Topic
    AllowMove Property (GoLayer)
    In This Topic
    Gets or sets whether the user can move selected objects in this layer.
    Syntax
    [Category("Behavior")]
    [DefaultValue(true)]
    [Description("Whether the user can move the selected objects in this layer.")]
    public bool AllowMove {get; set;}
    Remarks
    A false value prevents the user from moving objects in this layer by the normal mechanisms. Even when this property value is true, some objects might not be movable by the user because the object or its document disallows it, or because the view disallows it. Your code can always move objects programmatically by calling obj.Position = newPos.
    See Also