OnPropertyChanged(string) method

The consumer of this class can listen for the PropertyChanged event in order to handle changes to any of the properties.

Visual Basic syntax

Public Sub OnPropertyChanged (ByVal strPropertyName As String) 

C# syntax

public void OnPropertyChanged (string strPropertyName)

Usage

Property Name: Label IsEnabled IsVisible IsHyperlinkEnabled Error (IDataErrorInfo)

Each type of control has its own value property, which raises the PropertyChanged event when it changes.

String: StringValue Label: Label Integer: NumberValue Identifier: NumberValue Decimal: NumberValue, StringValue Duration: DurationValue Date: Value, DateValue Time: Value, TimeValue Date/Time: Value, DateValue, TimeValue Image: Image Data: FilePath