Show / Hide Table of Contents

Class LayoutHeader

Contains the logic for the Layout Header class.

Inheritance
object
BindableBase
LayoutItemBase
LayoutHeader
Implements
INotifyPropertyChanged
IEquatable<LayoutItemBase>
IEquatable<LayoutHeader>
Inherited Members
BindableBase.SetProperty<T>(ref T, T, string)
BindableBase.SetProperty<T>(ref T, T, Action, string)
BindableBase.RaisePropertyChanged(string)
BindableBase.OnPropertyChanged(PropertyChangedEventArgs)
BindableBase.PropertyChanged
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 LayoutHeader : LayoutItemBase, INotifyPropertyChanged, IEquatable<LayoutItemBase>, IEquatable<LayoutHeader>

Constructors

View Source

LayoutHeader()

Initializes a new instance of the LayoutHeader class.

Declaration
public LayoutHeader()

Properties

View Source

HeaderText

Gets or sets the header text.

Declaration
public string HeaderText { get; set; }
Property Value
Type Description
string

Methods

View Source

Equals(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 other parameter; otherwise, false.

View Source

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 other parameter; otherwise, false.

Overrides
LayoutItemBase.Equals(LayoutItemBase)
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 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
LayoutItemBase.GenerateXaml(int)
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()
View Source

IsValid()

Check whether the layout header is valid.

Declaration
public override bool IsValid()
Returns
Type Description
bool

Whether the header is valid.

Overrides
LayoutItemBase.IsValid()

Implements

INotifyPropertyChanged
IEquatable<T>
IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX