SIL.FieldWorks.XWorks.DTMenuHandler.OnDisplayDataTreeSplit C# (CSharp) Method

OnDisplayDataTreeSplit() private method

private OnDisplayDataTreeSplit ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
commandObject object
display XCore.UIItemDisplayProperties
return bool
		public virtual bool OnDisplayDataTreeSplit(object commandObject,
			ref UIItemDisplayProperties display)
		{
			Slice current = m_dataEntryForm.CurrentSlice;
			display.Enabled = current != null && current.GetCanSplitNow();
			return true;	//we handled this, no need to ask anyone else.
		}