This class implements INotifyPropertyChanged and INotifyPropertyChanging in a serialization-safe manner. More...
Protected Member Functions | |
BindableBase () | |
Creates an instance of the type. More... | |
virtual bool | ShouldHandlerSerialize (PropertyChangedEventHandler value) |
Override this method to change the default logic for determining if the event handler should be serialized More... | |
virtual void | OnPropertyChanged (string propertyName) |
Call this method to raise the PropertyChanged event for a specific property. More... | |
virtual void | OnMetaPropertyChanged (string propertyName) |
virtual void | OnPropertyChanged (IPropertyInfo propertyInfo) |
Call this method to raise the PropertyChanged event for a specific property. More... | |
virtual void | OnIsDirtyChanged () |
Call this method to raise the PropertyChanged event for all object properties. More... | |
virtual void | OnUnknownPropertyChanged () |
Call this method to raise the PropertyChanged event for all object properties. More... | |
virtual void | OnIsDirtyChanging () |
Call this method to raise the PropertyChanging event for all object properties. More... | |
virtual void | OnUnknownPropertyChanging () |
Call this method to raise the PropertyChanging event for all object properties. More... | |
virtual void | OnPropertyChanging (string propertyName) |
Call this method to raise the PropertyChanging event for a specific property. More... | |
virtual void | OnPropertyChanging (IPropertyInfo propertyInfo) |
Call this method to raise the PropertyChanging event for a specific property. More... | |
virtual bool | ShouldHandlerSerialize (PropertyChangingEventHandler value) |
Override this method to change the default logic for determining if the event handler should be serialized More... | |
Protected Member Functions inherited from Csla.Core.MobileObject | |
virtual void | OnGetState (SerializationInfo info, StateMode mode) |
Override this method to insert your field values into the MobileFormatter serialzation stream. More... | |
virtual void | OnGetChildren (SerializationInfo info, MobileFormatter formatter) |
Override this method to insert your child object references into the MobileFormatter serialzation stream. More... | |
virtual void | OnSetState (SerializationInfo info, StateMode mode) |
Override this method to retrieve your field values from the MobileFormatter serialzation stream. More... | |
virtual void | OnSetChildren (SerializationInfo info, MobileFormatter formatter) |
Override this method to retrieve your child object references from the MobileFormatter serialzation stream. More... | |
Properties | |
PropertyChangedEventHandler | PropertyChanged |
Implements a serialization-safe PropertyChanged event. More... | |
PropertyChangingEventHandler | PropertyChanging |
Implements a serialization-safe PropertyChanging event. More... | |
Additional Inherited Members |
This class implements INotifyPropertyChanged and INotifyPropertyChanging in a serialization-safe manner.
Definition at line 19 of file BindableBase.cs.
|
protected |
Creates an instance of the type.
Definition at line 27 of file BindableBase.cs.
|
protectedvirtual |
Call this method to raise the PropertyChanged event for all object properties.
This method is for backward compatibility with CSLA .NET 1.x.
Definition at line 141 of file BindableBase.cs.
|
protectedvirtual |
Call this method to raise the PropertyChanging event for all object properties.
This method is for backward compatibility with CSLA .NET 1.x.
Definition at line 201 of file BindableBase.cs.
|
protectedvirtual |
Call this method to raise the PropertyChanged event for a MetaData (IsXYZ) property
propertyName | Name of the property that has changed. |
This method may be called by properties in the business class to indicate the change in a specific property.
Definition at line 106 of file BindableBase.cs.
|
protectedvirtual |
Call this method to raise the PropertyChanged event for a specific property.
propertyInfo | PropertyInfo of the property that has changed. |
This method may be called by properties in the business class to indicate the change in a specific property.
Reimplemented in Csla.Core.BusinessBase.
Definition at line 127 of file BindableBase.cs.
|
protectedvirtual |
Call this method to raise the PropertyChanged event for a specific property.
propertyName | Name of the property that has changed. |
This method may be called by properties in the business class to indicate the change in a specific property.
Definition at line 85 of file BindableBase.cs.
|
protectedvirtual |
Call this method to raise the PropertyChanging event for a specific property.
propertyInfo | PropertyInfo of the property that has Changing. |
This method may be called by properties in the business class to indicate the change in a specific property.
Definition at line 253 of file BindableBase.cs.
|
protectedvirtual |
Call this method to raise the PropertyChanging event for a specific property.
propertyName | Name of the property that has Changing. |
This method may be called by properties in the business class to indicate the change in a specific property.
Definition at line 232 of file BindableBase.cs.
|
protectedvirtual |
Call this method to raise the PropertyChanged event for all object properties.
This method is automatically called by MarkDirty. It actually raises PropertyChanged for an empty string, which tells data binding to refresh all properties.
Definition at line 156 of file BindableBase.cs.
|
protectedvirtual |
Call this method to raise the PropertyChanging event for all object properties.
This method is automatically called by MarkDirty. It actually raises PropertyChanging for an empty string, which tells data binding to refresh all properties.
Definition at line 216 of file BindableBase.cs.
|
protectedvirtual |
Override this method to change the default logic for determining if the event handler should be serialized
value | the event handler to review |
Definition at line 67 of file BindableBase.cs.
|
protectedvirtual |
Override this method to change the default logic for determining if the event handler should be serialized
value | the event handler to review |
Definition at line 264 of file BindableBase.cs.
|
addremove |
Implements a serialization-safe PropertyChanged event.
Definition at line 39 of file BindableBase.cs.
|
addremove |
Implements a serialization-safe PropertyChanging event.
Definition at line 170 of file BindableBase.cs.