SIL.FieldWorks.Common.Framework.DetailControls.Slice.Slice.GetBranchHeight C# (CSharp) Méthode

GetBranchHeight() public méthode

Returns the height, from the top of the item, at which to draw the line across towards it. Typically this is the center of where DrawLabel will draw the label, but it might not be (e.g., if DrawLabel actually draws two labels and a bit of tree diagram).
public GetBranchHeight ( ) : int
Résultat int
		public virtual int GetBranchHeight()
		{
			CheckDisposed();

			return Convert.ToInt32((m_fontLabel.GetHeight() + 1.0) / 2.0);
		}