FormExtensionsGetHorizontalBorderSize Method
Gets the size of the horizontal border (the border of the top or bottom edge) of the source Form.
Namespace: DevCase.Extensions.FormExtensionsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static Size GetHorizontalBorderSize(
this Form f
)
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
Public Shared Function GetHorizontalBorderSize (
f As Form
) As Size
Dim f As Form
Dim returnValue As Size
returnValue = f.GetHorizontalBorderSize()
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
static Size GetHorizontalBorderSize(
Form^ f
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
static member GetHorizontalBorderSize :
f : Form -> Size
No code example is currently available or this language may not be supported.
- f Form
-
The source Form.
Size
The size of the horizontal border (the border of the top or bottom edge) of the source
Form.
In Visual Basic and C#, you can call this method as an instance method on any object of type
Form. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
This is a code example.
No code example is currently available or this language may not be supported.
Dim horizontalBorderSize As Size = GetHorizontalBorderSize(Me)
Console.WriteLine(String.Format("Horizontal Border Width = {0}", horizontalBorderSize.Width))
Console.WriteLine(String.Format("Horizontal Border Height = {0}", horizontalBorderSize.Height))
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.