ContentAlignmentExtensions Class

Extension methods for the ContentAlignment enumeration.

Definition

Namespace: KGySoft.WinForms
Assembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
C#
public static class ContentAlignmentExtensions
Inheritance
Object    ContentAlignmentExtensions

Methods

AnyBottom Gets if any bottom alignment is set in contentAlignment.
AnyCenter Gets if any center alignment is set in contentAlignment.
AnyLeft Gets if any left alignment is set in contentAlignment.
AnyMiddle Gets if any middle alignment is set in contentAlignment.
AnyRight Gets if any right alignment is set in contentAlignment.
AnyTop Gets if any top alignment is set in contentAlignment.
RtlTranslateContent(ContentAlignment, Boolean) If isRightToLeft is , then mirrors the alignment horizontally.
RtlTranslateContent(ContentAlignment, Control) 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.

See Also