SIL.FieldWorks.Common.Framework.DetailControls.GhostStringSlice.GhostStringSliceView.SwitchToRealOnIdle C# (CSharp) Méthode

SwitchToRealOnIdle() private méthode

We arrange to be called once when this slice should turn into a real object.
private SwitchToRealOnIdle ( object parameter ) : bool
parameter object
Résultat bool
			private bool SwitchToRealOnIdle(object parameter)
			{
				if (IsDisposed)
					return true;

				if (this.Parent == null)
					return false;		// wait until we're fully set up.
				// Converting to real while doing a composition messes up the IME. (LT-9932).
				if (m_rootb.IsCompositionInProgress)
					return false;
				SwitchToReal();
				return true;
			}