Перейти к основному содержимому

Class HelpBoxExtensions

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

Provides extension methods for HelpBox.

public static class HelpBoxExtensions

Inheritance​

object ← HelpBoxExtensions

Methods​

SetMessageType<T>(T, HelpBoxMessageType)​

Sets messageType.

public static T SetMessageType<T>(this T element, HelpBoxMessageType value) where T : HelpBox

Parameters​

element T

The element to modify.

value HelpBoxMessageType

The message type to set.

Returns​

T

The element, for chaining.

Type Parameters​

T

The element type.

SetText<T>(T, string)​

Sets text.

public static T SetText<T>(this T element, string value) where T : HelpBox

Parameters​

element T

The element to modify.

value string

The text to set.

Returns​

T

The element, for chaining.

Type Parameters​

T

The element type.