Show / Hide Table of Contents

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
System.Object
Section
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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
System.Nullable<System.Boolean>

Description

The header of the section, text formatted supported.

Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type Description
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.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
System.Nullable<System.Int32>

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<WidgetMarkup>

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top