ILabel

Wisej.Web.ILabel

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides access to the LabelWrapper associated with the controls that implement this interface.

public interface ILabel

Using ILabel allows developers to use uniform code to access the LabelWrapper properties used by the control to show a label.

// Old code
if (control is TextBoxBase)
((TextBoxBase)control).LabelText = "Name";
else if (control is ComboBox)
((ComboBox)control).LabelText = "Name";
// etc...

// New code
if (control is ILabel)
((ILabel)control).LabelText = "Name";

Properties

LabelWrapper: Provides access to the properties of the LabelWrapper associated with the control.

String: Returns or sets the text of the label associated with the control.

Implemented By

Last updated