コード例 #1
0
 // Calls hosting dialog, if set yet, to check if property can actually be set while the
 // dialog is in its current state. Host should throw if state doesn't support the change.
 // Note that if the dialog isn't set yet, there are no prop set restrictions yet.
 protected void CheckPropertyChangeAllowed(string propName)
 {
     Debug.Assert(!String.IsNullOrEmpty(propName), "Property changing was not specified");
     if (hostingDialog != null)
     {
         hostingDialog.IsControlPropertyChangeAllowed(propName, this);
     }
 }