Class LayoutHeader
Contains the logic for the Layout Header class.
Inherited Members
Namespace: Microsoft.Internal.Studios.Aruba.Infrastructure.Layouts
Assembly: Aruba.Infrastructure.dll
Syntax
public class LayoutHeader : LayoutItemBase, INotifyPropertyChanged, IEquatable<LayoutItemBase>, IEquatable<LayoutHeader>
Constructors
View SourceLayoutHeader()
Initializes a new instance of the LayoutHeader class.
Declaration
public LayoutHeader()
Properties
View SourceHeaderText
Gets or sets the header text.
Declaration
public string HeaderText { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceEquals(LayoutHeader)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(LayoutHeader other)
Parameters
Type | Name | Description |
---|---|---|
LayoutHeader | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
bool | true if the current object is equal to the |
Equals(LayoutItemBase)
Indicates whether the current object is equal to another object of the same type.
Declaration
public override 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 |
Overrides
View SourceEquals(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 the Xaml for a header in a layout.
Declaration
public override string GenerateXaml(int gridRow)
Parameters
Type | Name | Description |
---|---|---|
int | gridRow | The grid row this header is on. |
Returns
Type | Description |
---|---|
string | Xaml string. |
Overrides
View SourceGetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |
Overrides
View SourceIsValid()
Check whether the layout header is valid.
Declaration
public override bool IsValid()
Returns
Type | Description |
---|---|
bool | Whether the header is valid. |