C# (CSharp) SIL.FieldWorks.FDO ExtraPropChangedAction - 6개의 예제가 발견되었습니다. 이것들은 오픈소스 프로젝트에서 추출된 C# (CSharp)의 SIL.FieldWorks.FDO.ExtraPropChangedAction에 대한 실세계 최고 등급의 예제들입니다. 예제들을 평가하여 예제의 품질 향상에 도움을 줄 수 있습니다.
Generate an additional PropChanged as part of an Undo or Redo action. A typical usage is pretending that the row that is the target of a dependent clause annotation has changed in its parent. Note that we create TWO of these, one that is the first action in the group, and one that is the last. The first is for Undo, and updates the ribbon to the appropriate state for when the action is undone. (It needs to be first so it will be the last thing undone.) The last is for Redo, and updates the ribbon after the task is redone (needs to be last so it is the last thing redone). A typical usage is using (new ExtraPropChangedInserter(actionHandler, sda, hvo, tag, ihvo, chvoIns, chvoDel) { // Do the changes which require the extra propchanged before and after. }