58 references to FlowDirection
Microsoft.Maui (6)
Core\IView.cs (1)
20 FlowDirection FlowDirection { get; }
Core\IWindow.cs (1)
70 FlowDirection FlowDirection { get; }
Handlers\Layout\LayoutHandler.cs (2)
131 internal static FlowDirection GetLayoutFlowDirection(FlowDirection flowDirection)
Primitives\LayoutAlignment.cs (2)
16 /// Align with the leading edge of the available space, as determined by <see cref="FlowDirection"/>. 26 /// Align with the trailing edge of the available space, as determined by <see cref="FlowDirection"/>.
Microsoft.Maui.Controls (52)
ActionSheetArguments.cs (2)
21 FlowDirection = FlowDirection.MatchParent; 48 public FlowDirection FlowDirection { get; set; }
AlertArguments.cs (2)
19 FlowDirection = FlowDirection.MatchParent; 40 public FlowDirection FlowDirection { get; set; }
Device.cs (3)
78 public static FlowDirection FlowDirection => 80 ? FlowDirection.RightToLeft 81 : FlowDirection.LeftToRight;
EffectiveFlowDirectionExtensions.cs (8)
9 internal static EffectiveFlowDirection ToEffectiveFlowDirection(this FlowDirection self, bool isExplicit = false) 13 case FlowDirection.MatchParent: 17 case FlowDirection.LeftToRight: 27 case FlowDirection.RightToLeft: 42 internal static FlowDirection ToFlowDirection(this EffectiveFlowDirection self) 45 return FlowDirection.LeftToRight; 47 return FlowDirection.RightToLeft; 49 throw new InvalidOperationException($"Cannot convert {self} to {nameof(FlowDirection)}.");
FlowDirectionConverter.cs (6)
22 if (Enum.TryParse(strValue, out FlowDirection direction)) 26 return FlowDirection.LeftToRight; 28 return FlowDirection.RightToLeft; 30 return FlowDirection.MatchParent; 32 throw new InvalidOperationException($"Cannot convert \"{strValue}\" into {typeof(FlowDirection)}"); 37 if (value is not FlowDirection direction)
Internals\PropertyPropagationExtensions.cs (1)
64 var flowDirection = sourceController.EffectiveFlowDirection.ToFlowDirection();
LayoutDirectionExtensions.cs (3)
8 public static FlowDirection ToFlowDirection(this LayoutDirection layoutDirection) => 10 ? FlowDirection.RightToLeft 11 : FlowDirection.LeftToRight;
Page\Page.cs (10)
274 /// <inheritdoc cref="DisplayActionSheet(string, string, string, FlowDirection, string[])"/> 277 return DisplayActionSheet(title, cancel, destruction, FlowDirection.MatchParent, buttons); 290 public Task<string> DisplayActionSheet(string title, string cancel, string destruction, FlowDirection flowDirection, params string[] buttons) 305 /// <inheritdoc cref="DisplayAlert(string, string, string, string, FlowDirection)"/> 308 return DisplayAlert(title, message, null, cancel, FlowDirection.MatchParent); 311 /// <inheritdoc cref="DisplayAlert(string, string, string, string, FlowDirection)"/> 314 return DisplayAlert(title, message, accept, cancel, FlowDirection.MatchParent); 317 /// <inheritdoc cref="DisplayAlert(string, string, string, string, FlowDirection)"/> 318 public Task DisplayAlert(string title, string message, string cancel, FlowDirection flowDirection) 333 public Task<bool> DisplayAlert(string title, string message, string accept, string cancel, FlowDirection flowDirection)
TitleBar\TitleBar.cs (2)
168 /// the left or right of the title bar, depending on the <see cref="FlowDirection"/>. Views 215 /// on the <see cref="FlowDirection"/>. Views set here will be allocated as much space
VisualElement\VisualElement.cs (6)
440 public static readonly BindableProperty FlowDirectionProperty = BindableProperty.Create(nameof(FlowDirection), typeof(FlowDirection), typeof(VisualElement), FlowDirection.MatchParent, propertyChanging: FlowDirectionChanging, propertyChanged: FlowDirectionChanged); 448 public FlowDirection FlowDirection 450 get { return (FlowDirection)GetValue(FlowDirectionProperty); } 1615 var newFlowDirection = ((FlowDirection)newValue).ToEffectiveFlowDirection(isExplicit: true); 1968 FlowDirection IView.FlowDirection => FlowDirection;
Window\Window.cs (9)
29 BindableProperty.Create(nameof(FlowDirection), typeof(FlowDirection), typeof(Window), FlowDirection.MatchParent, propertyChanging: FlowDirectionChanging, propertyChanged: FlowDirectionChanged); 342 public FlowDirection FlowDirection 344 get { return (FlowDirection)GetValue(FlowDirectionProperty); } 376 var newFlowDirection = ((FlowDirection)newValue).ToEffectiveFlowDirection(isExplicit: true); 569 FlowDirection IWindow.FlowDirection 577 if (FlowDirection == FlowDirection.MatchParent && 595 if (FlowDirection == FlowDirection.MatchParent && mauiContext != null) 597 var flowDirection = AppInfo.Current.RequestedLayoutDirection.ToFlowDirection();