Skip to main content

Definition

Assembly: CloudNimble.BlazorEssentials.dll Namespace: CloudNimble.BlazorEssentials Inheritance: System.Object

Syntax

CloudNimble.BlazorEssentials.InterfaceElement

Summary

Represents the basic parts of any HTML element.

Constructors

.ctor

Syntax

public InterfaceElement()

.ctor

Syntax

public InterfaceElement(string displayText, string iconClass, string cssClass = null)

Parameters

NameTypeDescription
displayTextstring-
iconClassstring-
cssClassstring-

.ctor Inherited

Inherited from object

Syntax

public Object()

Properties

CssClass

A string representing the CSS classes that will be applied to the element.

Syntax

public string CssClass { get; set; }

Property Value

Type: string

DisplayText

A string representing the text that will be displayed inside the element.

Syntax

public string DisplayText { get; set; }

Property Value

Type: string

IconClass

A string representing the CSS class for the icon that will be rendered immediately before the InterfaceElement.DisplayText.

Syntax

public string IconClass { get; set; }

Property Value

Type: string

Methods

Equals Inherited Virtual

Inherited from object

Syntax

public virtual bool Equals(object obj)

Parameters

NameTypeDescription
objobject?-

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

public static bool Equals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

public virtual int GetHashCode()

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

public System.Type GetType()

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

protected internal object MemberwiseClone()

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

public static bool ReferenceEquals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

public virtual string ToString()

Returns

Type: string?