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