Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the number of columns that are displayed.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property DisplayColumns As Integer
Get
Set
'Usage
Dim instance As ContentByQueryWebPart
Dim value As Integer
value = instance.DisplayColumns
instance.DisplayColumns = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
public int DisplayColumns { get; set; }
Property Value
Type: System.Int32
An integer representing the number of columns that are displayed.