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
GetBrandcenterConfiguration()
Gets the branding center configuration
IBrandcenterConfiguration GetBrandcenterConfiguration()
Returns
GetBrandcenterConfigurationAsync()
Gets the branding center configuration
Task<IBrandcenterConfiguration> GetBrandcenterConfigurationAsync()
Returns
GetBrandcenterConfigurationBatch(Batch)
Gets the branding center configuration
IBatchSingleResult<IBrandcenterConfiguration> GetBrandcenterConfigurationBatch(Batch batch)
Parameters
batchBatchBatch to add this request to
Returns
GetBrandcenterConfigurationBatchAsync(Batch)
Gets the branding center configuration
Task<IBatchSingleResult<IBrandcenterConfiguration>> GetBrandcenterConfigurationBatchAsync(Batch batch)
Parameters
batchBatchBatch to add this request to
Returns
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
GetCurrentBrandcenterConfiguration()
Gets the current branding center configuration
IBrandcenterConfiguration GetCurrentBrandcenterConfiguration()
Returns
GetCurrentBrandcenterConfigurationAsync()
Gets the current branding center configuration
Task<IBrandcenterConfiguration> GetCurrentBrandcenterConfigurationAsync()
Returns
GetCurrentBrandcenterConfigurationBatch(Batch)
Gets the current branding center configuration
IBatchSingleResult<IBrandcenterConfiguration> GetCurrentBrandcenterConfigurationBatch(Batch batch)
Parameters
batchBatchBatch to add this request to
Returns
GetCurrentBrandcenterConfigurationBatchAsync(Batch)
Gets the current branding center configuration
Task<IBatchSingleResult<IBrandcenterConfiguration>> GetCurrentBrandcenterConfigurationBatchAsync(Batch batch)
Parameters
batchBatchBatch to add this request to
Returns
GetFontPackages()
Gets the fonts available in branding center
List<IFontPackage> GetFontPackages()
Returns
- List<IFontPackage>
Site's List<T>
GetFontPackagesAsync()
Gets the fonts available in branding center
Task<List<IFontPackage>> GetFontPackagesAsync()
Returns
- Task<List<IFontPackage>>
Site's List<T>
GetFontPackagesBatch(Batch)
Gets the fonts available in branding center
IEnumerableBatchResult<IFontPackage> GetFontPackagesBatch(Batch batch)
Parameters
batchBatch
Returns
- IEnumerableBatchResult<IFontPackage>
Site's IFontPackage collection
GetFontPackagesBatchAsync(Batch)
Gets the fonts available in branding center
Task<IEnumerableBatchResult<IFontPackage>> GetFontPackagesBatchAsync(Batch batch)
Parameters
batchBatch
Returns
- Task<IEnumerableBatchResult<IFontPackage>>
Site's IFontPackage collection
GetOutOfBoxFontPackages()
Gets the out of the box fonts available
List<IFontPackage> GetOutOfBoxFontPackages()
Returns
- List<IFontPackage>
Site's IFontPackage
GetOutOfBoxFontPackagesAsync()
Gets the out of the box fonts available
Task<List<IFontPackage>> GetOutOfBoxFontPackagesAsync()
Returns
- Task<List<IFontPackage>>
Site's IFontPackage
GetOutOfBoxFontPackagesBatch(Batch)
Gets the out of the box fonts available
IEnumerableBatchResult<IFontPackage> GetOutOfBoxFontPackagesBatch(Batch batch)
Parameters
batchBatch
Returns
- IEnumerableBatchResult<IFontPackage>
Site's IFontPackage collection
GetOutOfBoxFontPackagesBatchAsync(Batch)
Gets the out of the box fonts available
Task<IEnumerableBatchResult<IFontPackage>> GetOutOfBoxFontPackagesBatchAsync(Batch batch)
Parameters
batchBatch
Returns
- Task<IEnumerableBatchResult<IFontPackage>>
Site's IFontPackage collection
GetSiteFontPackages()
Gets the fonts installed on the site
List<IFontPackage> GetSiteFontPackages()
Returns
- List<IFontPackage>
Site's List<T>
GetSiteFontPackagesAsync()
Gets the fonts installed on the site
Task<List<IFontPackage>> GetSiteFontPackagesAsync()
Returns
- Task<List<IFontPackage>>
Site's List<T>
GetSiteFontPackagesBatch(Batch)
Gets the fonts installed on the site
IEnumerableBatchResult<IFontPackage> GetSiteFontPackagesBatch(Batch batch)
Parameters
batchBatch
Returns
- IEnumerableBatchResult<IFontPackage>
Site's IFontPackage collection
GetSiteFontPackagesBatchAsync(Batch)
Gets the fonts installed on the site
Task<IEnumerableBatchResult<IFontPackage>> GetSiteFontPackagesBatchAsync(Batch batch)
Parameters
batchBatch
Returns
- Task<IEnumerableBatchResult<IFontPackage>>
Site's IFontPackage collection
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
SetFontPackage(string)
Sets the branding center font with the given id on the Site
void SetFontPackage(string fontId)
Parameters
fontIdstring
SetFontPackageAsync(string)
Sets the branding center font with the given id on the Site
Task SetFontPackageAsync(string fontId)
Parameters
fontIdstring
Returns
SetFontPackageBatch(Batch, string)
Sets the branding center font with the given id on the Site
void SetFontPackageBatch(Batch batch, string fontId)
Parameters
SetFontPackageBatchAsync(Batch, string)
Sets the branding center font with the given id on the Site
Task SetFontPackageBatchAsync(Batch batch, string fontId)
Parameters
Returns
SetOutOfBoxFontPackage(string)
Sets the out of the box font with the given id on the Site
void SetOutOfBoxFontPackage(string fontId)
Parameters
fontIdstring
SetOutOfBoxFontPackageAsync(string)
Sets the out of the box font with the given id on the Site
Task SetOutOfBoxFontPackageAsync(string fontId)
Parameters
fontIdstring
Returns
SetOutOfBoxFontPackageBatch(Batch, string)
Sets the out of the box font with the given id on the Site
void SetOutOfBoxFontPackageBatch(Batch batch, string fontId)
Parameters
SetOutOfBoxFontPackageBatchAsync(Batch, string)
Sets the out of the box font with the given id on the Site
Task SetOutOfBoxFontPackageBatchAsync(Batch batch, string fontId)
Parameters
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