Share via


DesktopSiteBridge.LayoutDirectionOverride Property

Definition

Gets or sets the layout direction for reading order and text alignment used by a ContentSite that is owned by the associated Win32 HWND.

public:
 property IReference<ContentLayoutDirection> ^ LayoutDirectionOverride { IReference<ContentLayoutDirection> ^ get(); void set(IReference<ContentLayoutDirection> ^ value); };
IReference<ContentLayoutDirection> LayoutDirectionOverride();

void LayoutDirectionOverride(IReference<ContentLayoutDirection> value);
public System.Nullable<ContentLayoutDirection> LayoutDirectionOverride { get; set; }
var iReference = desktopSiteBridge.layoutDirectionOverride;
desktopSiteBridge.layoutDirectionOverride = iReference;
Public Property LayoutDirectionOverride As Nullable(Of ContentLayoutDirection)

Property Value

The layout direction used by a ContentSite. The default value is null.

Implements

Remarks

Setting this value overrides the Microsoft.UI.Content.ContentIsland.LayoutDirection value.

Applies to