42 references to EffectiveFlowDirection
Microsoft.Maui.Controls (40)
Cells\Cell.cs (3)
35
EffectiveFlowDirection
_effectiveFlowDirection = default(
EffectiveFlowDirection
);
36
EffectiveFlowDirection
IFlowDirectionController.EffectiveFlowDirection
EffectiveFlowDirectionExtensions.cs (21)
9
internal static
EffectiveFlowDirection
ToEffectiveFlowDirection(this FlowDirection self, bool isExplicit = false)
14
return default(
EffectiveFlowDirection
);
20
return
EffectiveFlowDirection
.Explicit;
24
return default(
EffectiveFlowDirection
);
30
return
EffectiveFlowDirection
.RightToLeft |
EffectiveFlowDirection
.Explicit;
34
return
EffectiveFlowDirection
.RightToLeft;
38
throw new InvalidOperationException($"Cannot convert {self} to {nameof(
EffectiveFlowDirection
)}.");
42
internal static FlowDirection ToFlowDirection(this
EffectiveFlowDirection
self)
53
public static bool IsRightToLeft(this
EffectiveFlowDirection
self)
55
return (self &
EffectiveFlowDirection
.RightToLeft) ==
EffectiveFlowDirection
.RightToLeft;
59
public static bool IsLeftToRight(this
EffectiveFlowDirection
self)
61
return (self &
EffectiveFlowDirection
.RightToLeft) !=
EffectiveFlowDirection
.RightToLeft;
65
public static bool IsImplicit(this
EffectiveFlowDirection
self)
67
return (self &
EffectiveFlowDirection
.Explicit) !=
EffectiveFlowDirection
.Explicit;
71
public static bool IsExplicit(this
EffectiveFlowDirection
self)
73
return (self &
EffectiveFlowDirection
.Explicit) ==
EffectiveFlowDirection
.Explicit;
IFlowDirectionController.cs (1)
6
EffectiveFlowDirection
EffectiveFlowDirection { get; set; }
IVisualElementController.cs (1)
24
EffectiveFlowDirection
EffectiveFlowDirection { get; }
Shell\BaseShellItem.cs (3)
275
EffectiveFlowDirection
_effectiveFlowDirection = default(
EffectiveFlowDirection
);
276
EffectiveFlowDirection
IFlowDirectionController.EffectiveFlowDirection
VisualElement\VisualElement.cs (6)
454
EffectiveFlowDirection
_effectiveFlowDirection = default(
EffectiveFlowDirection
);
455
EffectiveFlowDirection
IFlowDirectionController.EffectiveFlowDirection
461
void SetEffectiveFlowDirection(
EffectiveFlowDirection
value, bool fireFlowDirectionPropertyChanged)
475
EffectiveFlowDirection
IVisualElementController.EffectiveFlowDirection => FlowController.EffectiveFlowDirection;
1615
var
newFlowDirection = ((FlowDirection)newValue).ToEffectiveFlowDirection(isExplicit: true);
Window\Window.cs (5)
348
EffectiveFlowDirection
_effectiveFlowDirection = default(
EffectiveFlowDirection
);
349
EffectiveFlowDirection
IFlowDirectionController.EffectiveFlowDirection
357
void SetEffectiveFlowDirection(
EffectiveFlowDirection
value, bool fireFlowDirectionPropertyChanged)
376
var
newFlowDirection = ((FlowDirection)newValue).ToEffectiveFlowDirection(isExplicit: true);
Microsoft.Maui.Controls.Compatibility (2)
iOS\Cells\EntryCellRenderer.cs (1)
100
cell.TextField.TextAlignment = entryCell.HorizontalTextAlignment.ToPlatformTextAlignment(viewController?.EffectiveFlowDirection ?? default(
EffectiveFlowDirection
));
iOS\Renderers\AlignmentExtensions.cs (1)
9
internal static UITextAlignment ToPlatformTextAlignment(this TextAlignment alignment,
EffectiveFlowDirection
flowDirection)