ContentAlignmentExtensionsAnyCenter Method
Gets if any center alignment is set in contentAlignment.
Namespace: KGySoft.WinFormsAssembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
public static bool AnyCenter(
this ContentAlignment contentAlignment
)
<ExtensionAttribute>
Public Shared Function AnyCenter (
contentAlignment As ContentAlignment
) As Boolean
public:
[ExtensionAttribute]
static bool AnyCenter(
ContentAlignment contentAlignment
)
[<ExtensionAttribute>]
static member AnyCenter :
contentAlignment : ContentAlignment -> bool
- contentAlignment ContentAlignment
- The content alignment to check.
Boolean if any center alignment is set; otherwise,
.In Visual Basic and C#, you can call this method as an instance method on any object of type
ContentAlignment. 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).