Show / Hide Table of Contents

Class Layout

Layout class for serialization and xaml generation.

Inheritance
object
Layout
Implements
IEquatable<Layout>
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.Internal.Studios.Aruba.Infrastructure.Layouts
Assembly: Aruba.Infrastructure.dll
Syntax
public class Layout : IEquatable<Layout>

Properties

View Source

Sections

Gets the sections in the layout.

Declaration
public List<LayoutSection> Sections { get; }
Property Value
Type Description
List<LayoutSection>

Methods

View Source

Equals(Layout)

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals(Layout other)
Parameters
Type Name Description
Layout other

An object to compare with this object.

Returns
Type Description
bool

true if the current object is equal to the other parameter; otherwise, false.

View Source

Equals(object)

Determines whether the specified object is equal to the current object.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj

The object to compare with the current object.

Returns
Type Description
bool

true if the specified object is equal to the current object; otherwise, false.

Overrides
object.Equals(object)
View Source

GenerateXaml()

Generates the Xaml for the layout.

Declaration
public string GenerateXaml()
Returns
Type Description
string

Xaml string.

View Source

GetAllFieldNamesInLayout()

Gets all the fields in the layout as a list of strings.

Declaration
public List<string> GetAllFieldNamesInLayout()
Returns
Type Description
List<string>

A list of strings containing the names of the fields in the layout.

View Source

GetHashCode()

Serves as the default hash function.

Declaration
public override int GetHashCode()
Returns
Type Description
int

A hash code for the current object.

Overrides
object.GetHashCode()

Implements

IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX