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
LayoutMetadataObject 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
IsEmpty
Gets value indicating whether this layout is empty.
public bool IsEmpty { get; }
Property Value
Methods
CompareTo(LayoutMetadata)
Compares the current object with the given one and returns the comparison result.
public int CompareTo(LayoutMetadata other)
Parameters
other
LayoutMetadataObject 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
LayoutMetadataObject to copy state into.
Exceptions
- ArgumentNullException
target
is null.
FindField(string)
public LayoutFieldMetadata FindField(string systemName)
Parameters
systemName
string