Class ViewOptions
- Namespace
- PnP.Core.Model.SharePoint
- Assembly
- PnP.Core.dll
Options for creating a view
public class ViewOptions
- Inheritance
-
ViewOptions
- Inherited Members
Properties
AssociatedContentTypeId
Gets or sets the associated content type id
public string AssociatedContentTypeId { get; set; }
Property Value
BaseViewId
Gets or sets the base view Id
public int? BaseViewId { get; set; }
Property Value
- int?
CalendarViewStyles
Gets of sets the Calendar view styles
public string CalendarViewStyles { get; set; }
Property Value
Paged
Gets or sets a value that specifies whether the new list view is a paged view.
public bool Paged { get; set; }
Property Value
PersonalView
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; }
Property Value
Query
Gets or sets a value that specifies the query for the new list view.
public string Query { get; set; }
Property Value
RowLimit
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; }
Property Value
- int?
SetAsDefaultView
Gets or sets a value that specifies whether the new list view is the default list view.
public bool SetAsDefaultView { get; set; }
Property Value
Title
Gets or sets the value that specifies the display name of the new list view.
public string Title { get; set; }
Property Value
ViewData
Gets or sets the view data
public string ViewData { get; set; }
Property Value
ViewFields
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; }
Property Value
- string[]
ViewType2
Gets or sets the View Type 2 information
public ViewType2 ViewType2 { get; set; }
Property Value
ViewTypeKind
Gets or sets a value that specifies the type of the new list view.
public ViewTypeKind ViewTypeKind { get; set; }