ContentAlignmentExtensionsRtlTranslateContent(ContentAlignment, Control) Method
Calls the protected
Control.RtlTranslateContent method as if it was a public method.
It also applies a workaround for a Mono bug when the internal field value is
Inherit.
Namespace: KGySoft.WinFormsAssembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
public static ContentAlignment RtlTranslateContent(
this ContentAlignment alignment,
Control instance
)
<ExtensionAttribute>
Public Shared Function RtlTranslateContent (
alignment As ContentAlignment,
instance As Control
) As ContentAlignment
public:
[ExtensionAttribute]
static ContentAlignment RtlTranslateContent(
ContentAlignment alignment,
Control^ instance
)
[<ExtensionAttribute>]
static member RtlTranslateContent :
alignment : ContentAlignment *
instance : Control -> ContentAlignment
- alignment ContentAlignment
- The alignment to translate if needed.
- instance Control
- The Control instance.
ContentAlignmentThe translated alignment.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).