GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoView Class / BackgroundHasSheet Property
In This Topic
    BackgroundHasSheet Property
    In This Topic
    Gets or sets whether there is a value for Sheet, that is a GoSheet in this view's BackgroundLayer.
    Syntax
    [Category("Sheet")]
    [DefaultValue(false)]
    [Description("Whether the background layer has a GoSheet and whether the Grid properties refer to the BackgroundGrid or to the Sheet's Grid; also set SheetStyle to make it visible")]
    public virtual bool BackgroundHasSheet {get; set;}

    Property Value

    Initially this is false, since there is initially no Sheet. Setting this to true when there is no Sheet will call CreateSheet and assign the Sheet property. Setting this to false when there is a Sheet will set the Sheet property to null/nothing.
    Remarks

    This property just controls whether or not a GoSheet exists in the background layer as the Sheet property. It does not control whether the sheet is actually visible at this time, nor the positioning of the sheet in the view, nor what appearance the sheet takes--that is controlled by the SheetStyle property and other Sheet... and GoSheet properties.

    When there is a Sheet, all of the Grid... properties refer to the sheet's Grid rather than to the view's BackgroundGrid.

    See Also