Search Results for

    Show / Hide Table of Contents
    View Source

    Class PartialView

    Represents a Partial View file

    Inheritance
    System.Object
    BeingDirtyBase
    EntityBase
    File
    Namespace: Umbraco.Cms.Core.Models
    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
    Type Name Description
    PartialViewType viewType
    System.String path
    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
    Type Description
    PartialViewType
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • PartialView(PartialViewType, String)
      • PartialView(PartialViewType, String, Nullable<Func<File, String>>)
    • Properties
      • ViewType
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX