Skip to main content
Version: 4.1

ILabelExtensions

Namespace: Wisej.Web.Markup

Assembly: Wisej.Framework (4.1.0.0)

Adds fluent markup extension methods to the LabelWrapper class.

public class ILabelExtensions

Methods

Static member Label<TLabel>(target, label)

Sets the label of the target using a LabelWrapper.

ParameterTypeDescription
TLabelThe type of the control, which must implement ILabel.
targetTLabelThe target control which must implement ILabel.
labelLabelWrapperThe LabelWrapper containing the label information.

Returns: TLabel. The target control with the updated Label.

Static member LabelText<TLabel>(target, text)

Sets the LabelText property of the ILabel target control.

ParameterTypeDescription
TLabelThe target control type, which must implement ILabel.
targetTLabelThe target control which must implement ILabel.
textStringThe text to assign to LabelText.

Returns: TLabel. The target control with the updated LabelText.