public void OnHiddenRegionChange(IVsHiddenRegion region, HIDDEN_REGION_EVENT evt, int fBufferModifiable) { }
/// <include file='doc\Source.uex' path='docs/doc[@for="Source.OnHiddenRegionChange"]/*' /> public virtual void OnHiddenRegionChange(IVsHiddenRegion region, HIDDEN_REGION_EVENT evt, int fBufferModifiable) { if (evt == HIDDEN_REGION_EVENT.hreAfterRegionCollapsed) { collapsed++; } else if (evt == HIDDEN_REGION_EVENT.hreAfterRegionExpanded) { collapsed--; } }
public void OnHiddenRegionChange(IVsHiddenRegion pHidReg, HIDDEN_REGION_EVENT EventCode, int fBufferModifiable) { MessageBox.Show(EventCode.ToString()); }