Class LayoutItemBase
Abstract base class for a Layout Item
Inherited Members
Namespace: Microsoft.Internal.Studios.Aruba.Infrastructure.Layouts
Assembly: Aruba.Infrastructure.dll
Syntax
public abstract class LayoutItemBase : BindableBase, INotifyPropertyChanged, IEquatable<LayoutItemBase>
Methods
View SourceEquals(LayoutItemBase)
Indicates whether the current object is equal to another object of the same type.
Declaration
public abstract bool Equals(LayoutItemBase other)
Parameters
| Type | Name | Description |
|---|---|---|
| LayoutItemBase | other | An object to compare with this object. |
Returns
| Type | Description |
|---|---|
| bool | true if the current object is equal to the |
GenerateXaml(int)
A method that generates the Xaml for the layout item in a layout.
Declaration
public abstract string GenerateXaml(int gridRow)
Parameters
| Type | Name | Description |
|---|---|---|
| int | gridRow | The grid row the item is on. |
Returns
| Type | Description |
|---|---|
| string | Xaml string. |
IsValid()
A method for checking whether the Layout Item is valid or not.
Declaration
public abstract bool IsValid()
Returns
| Type | Description |
|---|---|
| bool | A value indicating whether the Layout Item is valid. |