Skip to main content

Class BaseFieldExtensions

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

Provides extension methods for BaseField<T>.

public static class BaseFieldExtensions

Inheritance​

object ← BaseFieldExtensions

Methods​

SetLabel<TField, TValue>(TField, string)​

Sets label displayed next to the field.

public static TField SetLabel<TField, TValue>(this TField element, string value) where TField : BaseField<TValue>

Parameters​

element TField

The element to modify.

value string

The label text to set.

Returns​

TField

The element, for chaining.

Type Parameters​

TField

The field type.

TValue

The value type held by the field.