Rediger

Del via


ListControl.FormattingEnabled Property

Definition

Gets or sets a value indicating whether formatting is applied to the DisplayMember property of the ListControl.

public:
 property bool FormattingEnabled { bool get(); void set(bool value); };
public bool FormattingEnabled { get; set; }
member this.FormattingEnabled : bool with get, set
Public Property FormattingEnabled As Boolean

Property Value

true if formatting of the DisplayMember property is enabled; otherwise, false. The default is false.

Remarks

Setting the FormattingEnabled property to true causes the Format event to be raised for each visible member of the ListControl.

SelectedIndex, SelectedValue, and FormattingEnabled are related as follows:

Applies to