Table of Contents

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

string

AuthorByLine

Page author byline

string AuthorByLine { get; set; }

Property Value

string

AuthorByLineId

Id of the page author

int AuthorByLineId { get; set; }

Property Value

int

Authors

Page author(s) to be displayed

string Authors { get; set; }

Property Value

string

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

string

LayoutType

Type of layout used inside the header

PageHeaderLayoutType LayoutType { get; set; }

Property Value

PageHeaderLayoutType

ShowPublishDate

Show the page publication date in the title region

bool ShowPublishDate { get; set; }

Property Value

bool

ShowTopicHeader

Show the topic header in the title region

bool ShowTopicHeader { get; set; }

Property Value

bool

TextAlignment

Alignment of the title in the header

PageHeaderTitleAlignment TextAlignment { get; set; }

Property Value

PageHeaderTitleAlignment

TopicHeader

The topic header text to show if ShowTopicHeader is set to true

string TopicHeader { get; set; }

Property Value

string

TranslateX

Image focal point X coordinate

double? TranslateX { get; set; }

Property Value

double?

TranslateY

Image focal point Y coordinate

double? TranslateY { get; set; }

Property Value

double?

Type

Returns the type of header

PageHeaderType Type { get; }

Property Value

PageHeaderType