Container for other UI controls that exposes various status values from the CSLA .NET business object acting as DataContext. More...
Public Member Functions | |
void | Refresh () |
Refreshes the control's property values to reflect the values of the underlying business object. More... | |
Public Member Functions inherited from Csla.Xaml.DataDecoratorBase | |
DataDecoratorBase () | |
Creates an instance of the object. More... | |
Protected Member Functions | |
override void | DataObjectChanged () |
This method is called when the data object to which the control is bound has changed. More... | |
override void | DataPropertyChanged (PropertyChangedEventArgs e) |
This method is called when a property of the data object to which the control is bound has changed. More... | |
override void | DataBindingListChanged (ListChangedEventArgs e) |
This method is called if the data object is an IBindingList, and the ListChanged event was raised by the data object. More... | |
override void | DataObservableCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedEventArgs e) |
This method is called if the data object is an INotifyCollectionChanged, and the CollectionChanged event was raised by the data object. More... | |
Protected Member Functions inherited from Csla.Xaml.DataDecoratorBase | |
virtual void | DataObservableCollectionChanged (NotifyCollectionChangedEventArgs e) |
This method is called if the data object is an INotifyCollectionChanged, and the CollectionChanged event was raised by the data object. More... | |
void | FindChildBindings () |
Scans all child controls of this panel for object bindings, and calls FoundBinding for each binding found. More... | |
virtual void | FoundBinding (Binding bnd, FrameworkElement control, DependencyProperty prop) |
Called by FindChildBindings each time an object binding is found. More... | |
Properties | |
bool | CanCreateObject [getprotected set] |
Exposes the CanCreateObject property of the DataContext business object. More... | |
bool | CanGetObject [getprotected set] |
Exposes the CanGetObject property of the DataContext business object. More... | |
bool | CanEditObject [getprotected set] |
Exposes the CanEditObject property of the DataContext business object. More... | |
bool | CanDeleteObject [getprotected set] |
Exposes the CanDeleteObject property of the DataContext business object. More... | |
bool | IsDeleted [getprotected set] |
Exposes the IsDeleted property of the DataContext business object. More... | |
bool | IsDirty [getprotected set] |
Exposes the IsDirty property of the DataContext business object. More... | |
bool | IsNew [getprotected set] |
Exposes the IsNew property of the DataContext business object. More... | |
bool | IsSavable [getprotected set] |
Exposes the IsSavable property of the DataContext business object. More... | |
bool | IsValid [getprotected set] |
Exposes the IsValid property of the DataContext business object. More... | |
Properties inherited from Csla.Xaml.DataDecoratorBase | |
object | DataObject [get] |
Gets a reference to the current data object. More... | |
Container for other UI controls that exposes various status values from the CSLA .NET business object acting as DataContext.
This control provides access to the IsDirty, IsNew, IsDeleted, IsValid and IsSavable properties of a business object. The purpose behind this control is to expose those properties in a way that supports WFP data binding against those values.
Definition at line 29 of file ObjectStatus.cs.
|
protectedvirtual |
This method is called if the data object is an IBindingList, and the ListChanged event was raised by the data object.
Reimplemented from Csla.Xaml.DataDecoratorBase.
Definition at line 239 of file ObjectStatus.cs.
|
protectedvirtual |
This method is called when the data object to which the control is bound has changed.
Reimplemented from Csla.Xaml.DataDecoratorBase.
Definition at line 218 of file ObjectStatus.cs.
|
protected |
This method is called if the data object is an INotifyCollectionChanged, and the CollectionChanged event was raised by the data object.
Definition at line 250 of file ObjectStatus.cs.
|
protectedvirtual |
This method is called when a property of the data object to which the control is bound has changed.
Reimplemented from Csla.Xaml.DataDecoratorBase.
Definition at line 228 of file ObjectStatus.cs.
void Csla.Xaml.ObjectStatus.Refresh | ( | ) |
Refreshes the control's property values to reflect the values of the underlying business object.
Definition at line 260 of file ObjectStatus.cs.
|
getprotected set |
Exposes the CanCreateObject property of the DataContext business object.
Definition at line 46 of file ObjectStatus.cs.
|
getprotected set |
Exposes the CanDeleteObject property of the DataContext business object.
Definition at line 97 of file ObjectStatus.cs.
|
getprotected set |
Exposes the CanEditObject property of the DataContext business object.
Definition at line 80 of file ObjectStatus.cs.
|
getprotected set |
Exposes the CanGetObject property of the DataContext business object.
Definition at line 63 of file ObjectStatus.cs.
|
getprotected set |
Exposes the IsDeleted property of the DataContext business object.
Definition at line 129 of file ObjectStatus.cs.
|
getprotected set |
Exposes the IsDirty property of the DataContext business object.
Definition at line 145 of file ObjectStatus.cs.
|
getprotected set |
Exposes the IsNew property of the DataContext business object.
Definition at line 162 of file ObjectStatus.cs.
|
getprotected set |
Exposes the IsSavable property of the DataContext business object.
Definition at line 179 of file ObjectStatus.cs.
|
getprotected set |
Exposes the IsValid property of the DataContext business object.
Definition at line 196 of file ObjectStatus.cs.