Interface IPageHeader
- Namespace
- PnP.Core.Model.SharePoint
- Assembly
- PnP.Core.dll
Class that implements the modern page header
public interface IPageHeader
Properties
AlternativeText
Alternative text for the header image
string AlternativeText { get; set; }
Property Value
AuthorByLine
Page author byline
string AuthorByLine { get; set; }
Property Value
AuthorByLineId
Id of the page author
int AuthorByLineId { get; set; }
Property Value
Authors
Page author(s) to be displayed
string Authors { get; set; }
Property Value
ImageServerRelativeUrl
Server relative link to page header image, set to null for default header image. Note: image needs to reside in the current site
string ImageServerRelativeUrl { get; set; }
Property Value
LayoutType
Type of layout used inside the header
PageHeaderLayoutType LayoutType { get; set; }
Property Value
ShowPublishDate
Show the page publication date in the title region
bool ShowPublishDate { get; set; }
Property Value
ShowTopicHeader
Show the topic header in the title region
bool ShowTopicHeader { get; set; }
Property Value
TextAlignment
Alignment of the title in the header
PageHeaderTitleAlignment TextAlignment { get; set; }
Property Value
TopicHeader
The topic header text to show if ShowTopicHeader is set to true
string TopicHeader { get; set; }
Property Value
TranslateX
Image focal point X coordinate
double? TranslateX { get; set; }
Property Value
TranslateY
Image focal point Y coordinate
double? TranslateY { get; set; }
Property Value
Type
Returns the type of header
PageHeaderType Type { get; }