Table of Contents

Class MBIconBearingSelectElement<T>

Namespace
Material.Blazor
Assembly
Material.Blazor.dll

A list item used by MBSegmentedButtonMulti<IList<TItem>>

public record MBIconBearingSelectElement<T> : MBSelectElement<T>, IEquatable<MBSelectElement<T>>, IEquatable<MBIconBearingSelectElement<T>>

Type Parameters

T
Inheritance
MBIconBearingSelectElement<T>
Implements
Inherited Members

Constructors

MBIconBearingSelectElement()

public MBIconBearingSelectElement()

MBIconBearingSelectElement(MBIconBearingSelectElement<T>)

protected MBIconBearingSelectElement(MBIconBearingSelectElement<T> original)

Parameters

original MBIconBearingSelectElement<T>

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Icon

The leading icon.

public string Icon { get; set; }

Property Value

string

Methods

Equals(MBIconBearingSelectElement<T>?)

public virtual bool Equals(MBIconBearingSelectElement<T>? other)

Parameters

other MBIconBearingSelectElement<T>

Returns

bool

Equals(MBSelectElement<T>?)

public override sealed bool Equals(MBSelectElement<T>? other)

Parameters

other MBSelectElement<T>

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(MBIconBearingSelectElement<T>?, MBIconBearingSelectElement<T>?)

public static bool operator ==(MBIconBearingSelectElement<T>? left, MBIconBearingSelectElement<T>? right)

Parameters

left MBIconBearingSelectElement<T>
right MBIconBearingSelectElement<T>

Returns

bool

operator !=(MBIconBearingSelectElement<T>?, MBIconBearingSelectElement<T>?)

public static bool operator !=(MBIconBearingSelectElement<T>? left, MBIconBearingSelectElement<T>? right)

Parameters

left MBIconBearingSelectElement<T>
right MBIconBearingSelectElement<T>

Returns

bool