FormExtensionsGetVerticalBorderSize Method
Gets the size of the vertical border (the border of the left or right 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 GetVerticalBorderSize(
this Form f
)
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
Public Shared Function GetVerticalBorderSize (
f As Form
) As Size
Dim f As Form
Dim returnValue As Size
returnValue = f.GetVerticalBorderSize()
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
static Size GetVerticalBorderSize(
Form^ f
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
static member GetVerticalBorderSize :
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 vertical border (the border of the left or right 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 verticalBorderSize As Size = GetVerticalBorderSize(Me)
Console.WriteLine(String.Format("Vertical Border Width = {0}", verticalBorderSize.Width))
Console.WriteLine(String.Format("Vertical Border Height = {0}", verticalBorderSize.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.