Table of Contents

Class LayoutMetadata

Namespace
Dynamicweb.Content.Items.Metadata
Assembly
Dynamicweb.dll
Represents an item layout metadata.
public class LayoutMetadata : IComparable<LayoutMetadata>
Inheritance
LayoutMetadata
Implements
Inherited Members

Constructors

LayoutMetadata()

Initializes a new instance of an object.
public LayoutMetadata()

LayoutMetadata(LayoutMetadata)

Initializes a new instance of an object.
public LayoutMetadata(LayoutMetadata copyFrom)

Parameters

copyFrom LayoutMetadata
Object to copy state from.

Exceptions

ArgumentNullException
copyFrom is null.

Properties

Groups

Gets or sets the collection of groups.
public LayoutGroupMetadataCollection Groups { get; set; }

Property Value

LayoutGroupMetadataCollection

IsEmpty

Gets value indicating whether this layout is empty.
public bool IsEmpty { get; }

Property Value

bool

Methods

CompareTo(LayoutMetadata)

Compares the current object with the given one and returns the comparison result.
public int CompareTo(LayoutMetadata other)

Parameters

other LayoutMetadata
Object to compare with.

Returns

int
Comparison result.

CopyTo(LayoutMetadata)

Copies the state of the current object into the given one.
public void CopyTo(LayoutMetadata target)

Parameters

target LayoutMetadata
Object to copy state into.

Exceptions

ArgumentNullException
target is null.

FindField(string)

public LayoutFieldMetadata FindField(string systemName)

Parameters

systemName string

Returns

LayoutFieldMetadata
To top