View Source
Class PartialView
Represents a Partial View file
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
[DataContract(IsReference = true)]
public class PartialView : File, IPartialView, IFile, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty
Constructors
View Source
PartialView(PartialViewType, String)
Declaration
public PartialView(PartialViewType viewType, string path)
Parameters
View Source
PartialView(PartialViewType, String, Nullable<Func<File, String>>)
Declaration
public PartialView(PartialViewType viewType, string path, Func<File, string>? getFileContent)
Parameters
Type |
Name |
Description |
PartialViewType |
viewType |
|
System.String |
path |
|
System.Nullable<Func<File, System.String>> |
getFileContent |
|
Properties
View Source
ViewType
Declaration
public PartialViewType ViewType { get; set; }
Property Value