ContentAlignmentExtensionsRtlTranslateContent(ContentAlignment, Boolean) Method
If isRightToLeft is , then mirrors the alignment horizontally.
Namespace: KGySoft.WinFormsAssembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
public static ContentAlignment RtlTranslateContent(
this ContentAlignment alignment,
bool isRightToLeft
)
<ExtensionAttribute>
Public Shared Function RtlTranslateContent (
alignment As ContentAlignment,
isRightToLeft As Boolean
) As ContentAlignment
public:
[ExtensionAttribute]
static ContentAlignment RtlTranslateContent(
ContentAlignment alignment,
bool isRightToLeft
)
[<ExtensionAttribute>]
static member RtlTranslateContent :
alignment : ContentAlignment *
isRightToLeft : bool -> ContentAlignment
- alignment ContentAlignment
- The ContentAlignment to translate.
- isRightToLeft Boolean
- to mirror the alignment horizontally; otherwise, .
ContentAlignmentThe transformed
ContentAlignment.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).