Interface IBrandingManager
Enables branding changes for the site (the options that appear under "change the look" under the gear icon in SharePoint)
Assembly: PnP.Core.dll
Syntax
public interface IBrandingManager
Methods
Lists the available themes for this web
Declaration
List<ITheme> GetAvailableThemes()
Returns
PnP.Core.Model.SharePoint.List<ITheme>
List of IThemeinstances
|
Lists the available themes for this web
Declaration
Task<List<ITheme>> GetAvailableThemesAsync()
Returns
Task<PnP.Core.Model.SharePoint.List<ITheme>>
List of IThemeinstances
|
Lists the available themes for this web
Declaration
IEnumerableBatchResult<ITheme> GetAvailableThemesBatch()
Returns
Lists the available themes for this web
Declaration
IEnumerableBatchResult<ITheme> GetAvailableThemesBatch(Batch batch)
Parameters
Batch
batch
Batch to add this request to
|
Returns
Lists the available themes for this web
Declaration
Task<IEnumerableBatchResult<ITheme>> GetAvailableThemesBatchAsync()
Returns
Lists the available themes for this web
Declaration
Task<IEnumerableBatchResult<ITheme>> GetAvailableThemesBatchAsync(Batch batch)
Parameters
Batch
batch
Batch to add this request to
|
Returns
Gets the site's chrome (header/footer/navigation) options
Declaration
IChromeOptions GetChromeOptions()
Returns
Gets the site's chrome (header/footer/navigation) options
Declaration
Task<IChromeOptions> GetChromeOptionsAsync()
Returns
Gets the site's chrome (header/footer/navigation) options
Declaration
IBatchSingleResult<IChromeOptions> GetChromeOptionsBatch()
Returns
Gets the site's chrome (header/footer/navigation) options
Declaration
IBatchSingleResult<IChromeOptions> GetChromeOptionsBatch(Batch batch)
Parameters
Batch
batch
Batch to add this request to
|
Returns
Gets the site's chrome (header/footer/navigation) options
Declaration
Task<IBatchSingleResult<IChromeOptions>> GetChromeOptionsBatchAsync()
Returns
Gets the site's chrome (header/footer/navigation) options
Declaration
Task<IBatchSingleResult<IChromeOptions>> GetChromeOptionsBatchAsync(Batch batch)
Parameters
Batch
batch
Batch to add this request to
|
Returns
Sets the site's chrome (header/footer/navigation) options
Declaration
void SetChromeOptions(IChromeOptions chromeOptions)
Parameters
Sets the site's chrome (header/footer/navigation) options
Declaration
Task SetChromeOptionsAsync(IChromeOptions chromeOptions)
Parameters
Returns
Sets the site's chrome (header/footer/navigation) options
Declaration
void SetChromeOptionsBatch(IChromeOptions chromeOptions)
Parameters
Sets the site's chrome (header/footer/navigation) options
Declaration
void SetChromeOptionsBatch(Batch batch, IChromeOptions chromeOptions)
Parameters
Batch
batch
Batch to add this request to
|
IChromeOptions
chromeOptions
Site chrome options to apply
|
Sets the site's chrome (header/footer/navigation) options
Declaration
Task SetChromeOptionsBatchAsync(IChromeOptions chromeOptions)
Parameters
Returns
Sets the site's chrome (header/footer/navigation) options
Declaration
Task SetChromeOptionsBatchAsync(Batch batch, IChromeOptions chromeOptions)
Parameters
Batch
batch
Batch to add this request to
|
IChromeOptions
chromeOptions
Site chrome options to apply
|
Returns
Declaration
void SetTheme(ITheme theme)
Parameters
Sets a an out of the box theme
Declaration
void SetTheme(SharePointTheme theme)
Parameters
Declaration
Task SetThemeAsync(ITheme theme)
Parameters
Returns
Sets a an out of the box theme
Declaration
Task SetThemeAsync(SharePointTheme theme)
Parameters
Returns
Declaration
void SetThemeBatch(ITheme theme)
Parameters
Sets a an out of the box theme
Declaration
void SetThemeBatch(SharePointTheme theme)
Parameters
Declaration
void SetThemeBatch(Batch batch, ITheme theme)
Parameters
Batch
batch
Batch to add this request to
|
ITheme
theme
Theme to apply
|
Sets a an out of the box theme
Declaration
void SetThemeBatch(Batch batch, SharePointTheme theme)
Parameters
Declaration
Task SetThemeBatchAsync(ITheme theme)
Parameters
Returns
Sets a an out of the box theme
Declaration
Task SetThemeBatchAsync(SharePointTheme theme)
Parameters
Returns
Declaration
Task SetThemeBatchAsync(Batch batch, ITheme theme)
Parameters
Batch
batch
Batch to add this request to
|
ITheme
theme
Theme to apply
|
Returns
Sets a an out of the box theme
Declaration
Task SetThemeBatchAsync(Batch batch, SharePointTheme theme)
Parameters
Returns