ILabelExtensions

Wisej.Web.Markup.ILabelExtensions

Namespace: Wisej.Web.Markup

Assembly: Wisej.Framework (4.0.0.0)

Adds fluent markup extension methods to the LabelWrapper class.

public class ILabelExtensions

Methods

Label<TLabel>(target, label)

Sets the label of the target using a LabelWrapper.

Parameter
Type
Description

TLabel

The type of the control, which must implement ILabel.

target

The target control which must implement ILabel.

label

The LabelWrapper containing the label information.

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

LabelText<TLabel>(target, text)

Sets the LabelText property of the ILabel target control.

Parameter
Type
Description

TLabel

The target control type, which must implement ILabel.

target

The target control which must implement ILabel.

text

The text to assign to LabelText.

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

Last updated

Was this helpful?