Class ViewOptions
Options for creating a view
Inherited Members
Namespace: PnP.Core.Model.SharePoint
Assembly: PnP.Core.dll
Syntax
public class ViewOptions
Options for creating a view
public class ViewOptions
Gets or sets the associated content type id
public string AssociatedContentTypeId { get; set; }
| string |
Gets of sets the Calendar view styles
public string CalendarViewStyles { get; set; }
| string |
Gets or sets a value that specifies whether the new list view is a paged view.
public bool Paged { get; set; }
| bool |
Gets or sets a value that specifies whether the new list view is a personal view. If the value is false, the new list view is a public view.
public bool PersonalView { get; set; }
| bool |
Gets or sets a value that specifies the query for the new list view.
public string Query { get; set; }
| string |
Gets or sets a value that specifies the maximum number of list items that the new list view displays on a visual page of the list view.
public int? RowLimit { get; set; }
| int? |
Gets or sets a value that specifies whether the new list view is the default list view.
public bool SetAsDefaultView { get; set; }
| bool |
Gets or sets the value that specifies the display name of the new list view.
public string Title { get; set; }
| string |
Gets or sets the value that specifies the collection of field internal names for the list fields in the new list view.
public string[] ViewFields { get; set; }
| string[] |
Gets or sets the View Type 2 information
public ViewType2 ViewType2 { get; set; }
| ViewType2 |
Gets or sets a value that specifies the type of the new list view.
public ViewTypeKind ViewTypeKind { get; set; }
| ViewTypeKind |