ContentByQueryWebPart.DisplayColumns property

Gets or sets the number of columns that are displayed.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public int DisplayColumns { get; set; }

Property value

Type: System.Int32
An integer representing the number of columns that are displayed.
Show: