Show / Hide Table of Contents

Class LayoutSection

LayoutSection class for serialization and xaml generation.

Inheritance
object
LayoutSection
Implements
IEquatable<LayoutSection>
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 LayoutSection : IEquatable<LayoutSection>

Properties

View Source

AttachmentSectionHeader

Gets or sets the header to use for this section when it is for attachments.

Declaration
public string AttachmentSectionHeader { get; set; }
Property Value
Type Description
string
View Source

Columns

Gets or sets the columns inside the section.

Declaration
public List<LayoutColumn> Columns { get; set; }
Property Value
Type Description
List<LayoutColumn>
View Source

IsAttachmentSection

Gets or sets a value indicating whether this section is for attachments.

Declaration
public bool IsAttachmentSection { get; set; }
Property Value
Type Description
bool

Methods

View Source

Equals(LayoutSection)

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

Declaration
public bool Equals(LayoutSection other)
Parameters
Type Name Description
LayoutSection 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(int)

Generates Xaml for this section.

Declaration
public string GenerateXaml(int gridRow = 0)
Parameters
Type Name Description
int gridRow

The current row this section is on.

Returns
Type Description
string

Xaml string.

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