Update underlying data field when related object is updated.

If the selected Library Document is out-of-range throw a specific error
Don't fail if the user clicks on open space in the BookMark list
Added property to provide a right margin (RTBMargin) between the RichTextBox and the StepItem
This commit is contained in:
Rich
2010-12-16 20:42:44 +00:00
parent abd26062f6
commit 10f06a5e9c
42 changed files with 147 additions and 69 deletions

View File

@@ -136,6 +136,7 @@ namespace VEPROMS.CSLA.Library
if (_MyContent != value)
{
_MyContent = value;
_FromID = value.ContentID;// Update underlying data field
PropertyHasChanged();
}
}
@@ -171,6 +172,7 @@ namespace VEPROMS.CSLA.Library
if (_MyItemToID != value)
{
_MyItemToID = value;
_ToID = value.ItemID;// Update underlying data field
PropertyHasChanged();
}
}
@@ -203,6 +205,7 @@ namespace VEPROMS.CSLA.Library
if (_MyItemRangeID != value)
{
_MyItemRangeID = value;
_RangeID = value.ItemID;// Update underlying data field
PropertyHasChanged();
}
}