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; }
System.Int32
|
List of ICanvasControl instances that are hosted in this section
List<ICanvasControl> Controls { get; }
PnP.Core.Model.SharePoint.List<ICanvasControl>
|
Is this a vertical section column?
bool IsVerticalSectionColumn { get; }
System.Boolean
|
Returns the layout index. Defaults to 1, except for the vertical section column this is 2
int LayoutIndex { get; }
System.Int32
|
Column order
int Order { get; }
System.Int32
|
ICanvasSection this section belongs to
ICanvasSection Section { get; }
ICanvasSection
|
Color emphasis of the column (used for the vertical section column)
int? VerticalSectionEmphasis { get; }
System.Nullable<System.Int32>
|
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)
System.Int32
order
Column order to set |
System.Int32
columnFactor
Column factor to set |