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

OnDisplayInsertMediaFile() public method

Check whether or not to display the "Insert Sound or Movie" command.
public OnDisplayInsertMediaFile ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
commandObject object
display XCore.UIItemDisplayProperties
return bool
		public virtual bool OnDisplayInsertMediaFile(object commandObject,
			ref UIItemDisplayProperties display)
		{
			// exact same logic as for inserting a picture
			return OnDisplayInsertPicture(commandObject, ref display);
		}