SIL.FieldWorks.XWorks.FwXWindow.OnFormatApplyStyle C# (CSharp) Method

OnFormatApplyStyle() protected method

Shows the apply style dialog
protected OnFormatApplyStyle ( object args ) : bool
args object ignored
return bool
		protected bool OnFormatApplyStyle(object args)
		{
			if (!m_delegate.CanApplyStyle)
				return false;
			ShowApplyStyleDialog(
				ParaStyleListHelper != null ? ParaStyleListHelper.SelectedStyle.Name : null,
				CharStyleListHelper != null ? CharStyleListHelper.SelectedStyle.Name : null, 0);
			return true;
		}
FwXWindow