Skip to main content

Class BaseFieldObjectExtensions

Namespace: Aspid.FastTools.UIElements
Assembly: Aspid.FastTools.dll

Provides BaseFieldObjectExtensions.SetLabel<T> for BaseField<T> of Object.

public static class BaseFieldObjectExtensions

Inheritance​

object ← BaseFieldObjectExtensions

Methods​

SetLabel<T>(T, string)​

Sets the label of the field via label.

public static T SetLabel<T>(this T element, string value) where T : BaseField<Object>

Parameters​

element T

The element to modify.

value string

The label text to set.

Returns​

T

The element, for chaining.

Type Parameters​

T

The field type.