Show / Hide Table of Contents

Class LayoutField

A class containing the logic for a field in the layout.

Inheritance
object
BindableBase
LayoutItemBase
LayoutField
Implements
INotifyPropertyChanged
IEquatable<LayoutItemBase>
IEquatable<LayoutField>
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 LayoutField : LayoutItemBase, INotifyPropertyChanged, IEquatable<LayoutItemBase>, IEquatable<LayoutField>

Constructors

View Source

LayoutField()

Initializes a new instance of the LayoutField class.

Declaration
public LayoutField()

Properties

View Source

FieldDefinition

Gets or sets the Field Definition

Declaration
[JsonIgnore]
public TemplateFieldDefinition FieldDefinition { get; set; }
Property Value
Type Description
TemplateFieldDefinition
View Source

FieldDisplayName

Gets or sets the field display name.

Declaration
public string FieldDisplayName { get; set; }
Property Value
Type Description
string
View Source

FieldName

Gets or sets the field name.

Declaration
public string FieldName { get; set; }
Property Value
Type Description
string
View Source

FieldNames

Gets or sets a list of the field names.

Declaration
public static List<TemplateFieldDefinition> FieldNames { get; set; }
Property Value
Type Description
List<TemplateFieldDefinition>
View Source

FieldType

Gets or sets the Field Type.

Declaration
public LayoutFieldType FieldType { get; set; }
Property Value
Type Description
LayoutFieldType
View Source

IsMultiselectType

Gets or sets a value indicating whether the field is a multi-select type.

Declaration
public bool IsMultiselectType { get; set; }
Property Value
Type Description
bool

Methods

View Source

Equals(LayoutField)

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals(LayoutField other)
Parameters
Type Name Description
LayoutField 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 field in a layout.

Declaration
public override string GenerateXaml(int gridRow)
Parameters
Type Name Description
int gridRow

The grid row this field 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 if the Layout Field is valid.

Declaration
public override bool IsValid()
Returns
Type Description
bool

Whether the layout field is valid.

Overrides
LayoutItemBase.IsValid()

Implements

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