Class LayoutColumn
LayoutColumn class for serializations and xaml generation.
Implements
Inherited Members
Namespace: Microsoft.Internal.Studios.Aruba.Infrastructure.Layouts
Assembly: Aruba.Infrastructure.dll
Syntax
public class LayoutColumn : IEquatable<LayoutColumn>
Properties
View SourceItems
Gets or sets the items in a column.
Declaration
[JsonProperty(ItemTypeNameHandling = TypeNameHandling.All)]
public List<LayoutItemBase> Items { get; set; }
Property Value
Type | Description |
---|---|
List<LayoutItemBase> |
Methods
View SourceEquals(LayoutColumn)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(LayoutColumn other)
Parameters
Type | Name | Description |
---|---|---|
LayoutColumn | 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 column.
Declaration
public string GenerateXaml(int gridColumn = 0)
Parameters
Type | Name | Description |
---|---|---|
int | gridColumn | The current grid column this column 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. |