ILabelExtensions
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.1.0.0)
Adds fluent markup extension methods to the LabelWrapper class.
- C#
- VB.NET
public class ILabelExtensions
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 | TLabel | The target control which must implement ILabel. |
| label | LabelWrapper | 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 | TLabel | The target control which must implement ILabel. |
| text | String | The text to assign to LabelText. |
Returns: TLabel. The target control with the updated LabelText.