Class Layout
Layout class for serialization and xaml generation.
Implements
Inherited Members
Namespace: Microsoft.Internal.Studios.Aruba.Infrastructure.Layouts
Assembly: Aruba.Infrastructure.dll
Syntax
public class Layout : IEquatable<Layout>
Properties
View SourceSections
Gets the sections in the layout.
Declaration
public List<LayoutSection> Sections { get; }
Property Value
Type | Description |
---|---|
List<LayoutSection> |
Methods
View SourceEquals(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 |
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
View SourceGenerateXaml()
Generates the Xaml for the layout.
Declaration
public string GenerateXaml()
Returns
Type | Description |
---|---|
string | Xaml string. |
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. |
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |