Formatting Binded Data Samples
Numeric 2 Decimal Places
Text="{Binding Path=SlipStake,StringFormat=N2}"
Custom date Format
Text="{Binding Path=DateScanned, StringFormat='{}{0:dd-MMM-yy HH:mm:ss}'}"
Implements INotifyPropertyChanged
Implements INotifyPropertyChanged
Implements INotifyPropertyChanged
Public Event PropertyChanged(ByVal sender As Object, ByVal e As System.ComponentModel.PropertyChangedEventArgs) Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged
' call This when you change a property (also remember to call it ' for read only properties that use that propered Protected
Sub NotifyPropertyChanged(ByVal name As String)
RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(name))
End Sub
http://msdn.microsoft.com/en-us/library/system.windows.input.keyboardnavigationmode.aspx