Search Results for

    Show / Hide Table of Contents

    Interface ICanvasColumn

    A column in a ICanvasSection

    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public interface ICanvasColumn

    Properties

    ColumnFactor

    Column size factor. Max value is 12 (= one column), other options are 8,6,4 or 0

    Declaration
    int ColumnFactor { get; }
    Property Value
    int

    Controls

    List of ICanvasControl instances that are hosted in this section

    Declaration
    List<ICanvasControl> Controls { get; }
    Property Value
    List<ICanvasControl>

    IsLayoutReflowOnTop

    The position of the Vertical section for smaller screens. Applied only for Vertical section

    Declaration
    bool? IsLayoutReflowOnTop { get; }
    Property Value
    bool?

    IsVerticalSectionColumn

    Is this a vertical section column?

    Declaration
    bool IsVerticalSectionColumn { get; }
    Property Value
    bool

    LayoutIndex

    Returns the layout index. Defaults to 1, except for the vertical section column this is 2

    Declaration
    int LayoutIndex { get; }
    Property Value
    int

    Order

    Column order

    Declaration
    int Order { get; }
    Property Value
    int

    Section

    ICanvasSection this section belongs to

    Declaration
    ICanvasSection Section { get; }
    Property Value
    ICanvasSection

    VerticalSectionEmphasis

    Color emphasis of the column (used for the vertical section column)

    Declaration
    int? VerticalSectionEmphasis { get; }
    Property Value
    int?

    ZoneId

    The Zone Identifier

    Declaration
    string ZoneId { get; }
    Property Value
    string

    ZoneReflowStrategy

    Gets or sets the strategy used to reflow zones within a layout.

    Declaration
    ZoneReflowStrategy? ZoneReflowStrategy { get; set; }
    Property Value
    ZoneReflowStrategy?

    Methods

    ResetColumn(int, int)

    Resets the column, used in scenarios where a section is changed from type (e.g. from 3 column to 2 column)

    Declaration
    void ResetColumn(int order, int columnFactor)
    Parameters
    int order

    Column order to set

    int columnFactor

    Column factor to set

    SetIsLayoutReflowOnTop(bool)

    Sets if vertical section should reflow on top

    Declaration
    void SetIsLayoutReflowOnTop(bool isLayoutReflowOnTop)
    Parameters
    bool isLayoutReflowOnTop

    SetZoneId(string)

    Sets the zone id

    Declaration
    void SetZoneId(string zoneId)
    Parameters
    string zoneId

    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer