Class LayoutSection
LayoutSection class for serialization and xaml generation.
Implements
Inherited Members
Namespace: Microsoft.Internal.Studios.Aruba.Infrastructure.Layouts
Assembly: Aruba.Infrastructure.dll
Syntax
public class LayoutSection : IEquatable<LayoutSection>
Properties
View SourceAttachmentSectionHeader
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 |
Columns
Gets or sets the columns inside the section.
Declaration
public List<LayoutColumn> Columns { get; set; }
Property Value
Type | Description |
---|---|
List<LayoutColumn> |
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 SourceEquals(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 |
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(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. |
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |