Interface ICanvasColumn
A column in a ICanvasSection
Namespace: PnP.Core.Model.SharePoint
Assembly: PnP.Core.dll
Syntax
public interface ICanvasColumn
A column in a ICanvasSection
public interface ICanvasColumn
Column size factor. Max value is 12 (= one column), other options are 8,6,4 or 0
int ColumnFactor { get; }
| int |
List of ICanvasControl instances that are hosted in this section
List<ICanvasControl> Controls { get; }
| List<ICanvasControl> |
The position of the Vertical section for smaller screens. Applied only for Vertical section
bool? IsLayoutReflowOnTop { get; }
| bool? |
Is this a vertical section column?
bool IsVerticalSectionColumn { get; }
| bool |
Returns the layout index. Defaults to 1, except for the vertical section column this is 2
int LayoutIndex { get; }
| int |
ICanvasSection this section belongs to
ICanvasSection Section { get; }
| ICanvasSection |
Color emphasis of the column (used for the vertical section column)
int? VerticalSectionEmphasis { get; }
| int? |
Gets or sets the strategy used to reflow zones within a layout.
ZoneReflowStrategy? ZoneReflowStrategy { get; set; }
| ZoneReflowStrategy? |
Resets the column, used in scenarios where a section is changed from type (e.g. from 3 column to 2 column)
void ResetColumn(int order, int columnFactor)
|
int
order
Column order to set |
|
int
columnFactor
Column factor to set |
Sets if vertical section should reflow on top
void SetIsLayoutReflowOnTop(bool isLayoutReflowOnTop)
| bool isLayoutReflowOnTop |