GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoView Class / Grid Property
In This Topic
    Grid Property (GoView)
    In This Topic
    Gets or sets the primary GoGrid used by this view.
    Syntax
    [Browsable(false)]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    public virtual GoGrid Grid {get; set;}

    Property Value

    This will normally be either the Sheet's Grid or the BackgroundGrid.
    Remarks
    Because the initial value of Sheet is null/nothing, the initial value of this property will be the BackgroundGrid. Setting the Sheet property to a GoSheet, either explicitly, or implicitly by setting BackgroundHasSheet to true, will cause this property's value to refer to the Sheet's Grid. Setting Sheet to null/nothing again, or setting BackgroundHasSheet to false, will cause this property to refer back to the original BackgroundGrid. Since this property is used by many of this view's "Grid..." properties, all of those properties may suddenly change value as this GoGrid reference is changed.
    See Also