GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoDocument Class / AllowSelect Property
In This Topic
    AllowSelect Property (GoDocument)
    In This Topic
    Gets or sets whether the user can select objects in this document.
    Syntax
    [Category("Behavior")]
    [DefaultValue(true)]
    [Description("Whether the user can select objects in this document.")]
    public virtual bool AllowSelect {get; set;}
    Remarks
    A false value prevents the user from selecting objects in this document by the normal mechanisms. Even when this property value is true, some objects might not be selectable by the user because the object or its layer disallows it, or because the view disallows it, or because the object is not visible. Your code can always select objects programmatically by calling aView.Selection.Select(obj) or aView.Selection.Add(obj).
    See Also