Interface ICanvasSection
- Namespace
- PnP.Core.Model.SharePoint
- Assembly
- PnP.Core.dll
Represents a section on the canvas
public interface ICanvasSection
Properties
Collapsible
Is this section collapsible?
bool Collapsible { get; set; }
Property Value
Columns
PnP.Core.Model.SharePoint.CanvasColumn instances that are part of this section
List<ICanvasColumn> Columns { get; }
Property Value
Controls
Controls hosted in this section
List<ICanvasControl> Controls { get; }
Property Value
DefaultColumn
The default PnP.Core.Model.SharePoint.CanvasColumn of this section
ICanvasColumn DefaultColumn { get; }
Property Value
DisplayName
DisplayName of the collapsible section
string DisplayName { get; set; }
Property Value
HeadingLevel
HeadingLevel of the collapsible section. 2, 3, or 4 corresponding to h2, h3, and h4. Default is 2.
int HeadingLevel { get; set; }
Property Value
IconAlignment
Sets the alignment of the collaps icon, left/right or not configured
IconAlignment? IconAlignment { get; set; }
Property Value
IsExpanded
Is the collapsible section expanded?
bool IsExpanded { get; set; }
Property Value
Order
Order in which this section is presented on the page
float Order { get; set; }
Property Value
Page
The IPage instance holding this section
IPage Page { get; }
Property Value
ShowDividerLine
Show a devided line for this collapsible section?
bool ShowDividerLine { get; set; }
Property Value
Type
Type of the section
CanvasSectionTemplate Type { get; set; }
Property Value
VerticalSectionColumn
A page can contain one section that has a vertical section column...use this attribute to get that column
ICanvasColumn VerticalSectionColumn { get; }
Property Value
ZoneEmphasis
Color emphasis of the section
int ZoneEmphasis { get; set; }