Class PlaceholderExtensions
- Namespace
 - Sitecore.AspNetCore.SDK.LayoutService.Client.Response.Model
 
- Assembly
 - Sitecore.AspNetCore.SDK.LayoutService.Client.dll
 
Extension methods for Placeholder.
public static class PlaceholderExtensions
  - Inheritance
 - 
      
      PlaceholderExtensions
 
- Inherited Members
 
Methods
ChromeAt(Placeholder, int)
Returns the EditableChrome from the specified index in the placeholder feature collection.
public static EditableChrome? ChromeAt(this Placeholder placeholder, int index)
  Parameters
placeholderPlaceholderThe placeholder feature collection.
indexintThe index of the chrome to be returned.
Returns
ComponentAt(Placeholder, int)
Returns the Component from the specified index in the placeholder feature collection.
public static Component? ComponentAt(this Placeholder placeholder, int index)
  Parameters
placeholderPlaceholderThe placeholder feature collection.
indexintThe index of the component to be returned.