System.Windows.Forms.ThemeWin32Classic.ManagedWindowTitleBarHeight C# (CSharp) Méthode

ManagedWindowTitleBarHeight() public méthode

public ManagedWindowTitleBarHeight ( System.Windows.Forms.InternalWindowManager wm ) : int
wm System.Windows.Forms.InternalWindowManager
Résultat int
		public override int ManagedWindowTitleBarHeight (InternalWindowManager wm)
		{
			if (wm.IsToolWindow && !wm.IsMinimized)
				return SystemInformation.ToolWindowCaptionHeight;
			if (wm.Form.FormBorderStyle == FormBorderStyle.None)
				return 0;
			return SystemInformation.CaptionHeight;
		}
ThemeWin32Classic