Class Section
Sections are separated by a line divider. They contain a collection of widgets that are rendered (vertically) in the order that they are specified. Across all platforms, AddOns have a narrow fixed width, so there is currently no need for layout properties (e.g. float).
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.CloudSearch.v1.Data
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class Section : IDirectResponseSchema
Properties
Collapsable
Indicating whether this section is collapsable. If a section is collapsable, the description must be given.
Declaration
[JsonProperty("collapsable")]
public virtual bool? Collapsable { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Description
The header of the section, text formatted supported.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NumUncollapsableWidgets
The number of uncollapsable widgets. For example, when a section contains 5 widgets and the num_uncollapsable_widget are set to be 2, The first 2 widgets will always shown and the last 3 is collapsed as default. Only when collapsable is set to be true, the num_uncollapsable_widget will be taken into account.
Declaration
[JsonProperty("numUncollapsableWidgets")]
public virtual int? NumUncollapsableWidgets { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Widgets
A section must contain at least 1 widget.
Declaration
[JsonProperty("widgets")]
public virtual IList<WidgetMarkup> Widgets { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<T><WidgetMarkup> |