27 references to ImagePosition
Microsoft.Maui.Controls (27)
Button\Button.cs (7)
34
nameof(ContentLayout), typeof(ButtonContentLayout), typeof(Button), new ButtonContentLayout(ButtonContentLayout.
ImagePosition
.Left, DefaultSpacing),
544
public ButtonContentLayout(
ImagePosition
position, double spacing)
553
public
ImagePosition
Position { get; }
591
var
position = ButtonContentLayout.
ImagePosition
.Left;
602
position = (ButtonContentLayout.
ImagePosition
)Enum.Parse(typeof(ButtonContentLayout.
ImagePosition
), parts[positionIndex], true);
Button\Button.iOS.cs (18)
61
&& (layout.Position == ButtonContentLayout.
ImagePosition
.Left || layout.Position == ButtonContentLayout.
ImagePosition
.Right))
69
&& (layout.Position == ButtonContentLayout.
ImagePosition
.Top || layout.Position == ButtonContentLayout.
ImagePosition
.Bottom))
132
if (layout.Position == ButtonContentLayout.
ImagePosition
.Top || layout.Position == ButtonContentLayout.
ImagePosition
.Bottom)
147
&& (layout.Position == ButtonContentLayout.
ImagePosition
.Top || layout.Position == ButtonContentLayout.
ImagePosition
.Bottom))
222
if (layout.Position == ButtonContentLayout.
ImagePosition
.Top)
230
else if (layout.Position == ButtonContentLayout.
ImagePosition
.Bottom)
238
else if (layout.Position == ButtonContentLayout.
ImagePosition
.Left)
247
else if (layout.Position == ButtonContentLayout.
ImagePosition
.Right)
296
if (image is not null && button.ContentLayout.Position == ButtonContentLayout.
ImagePosition
.Left || button.ContentLayout.Position == ButtonContentLayout.
ImagePosition
.Right)
312
if (currentTitleText.Length > 0 && button.ContentLayout.Position == ButtonContentLayout.
ImagePosition
.Left || button.ContentLayout.Position == ButtonContentLayout.
ImagePosition
.Right)
357
if (button.ContentLayout.Position == ButtonContentLayout.
ImagePosition
.Left || button.ContentLayout.Position == ButtonContentLayout.
ImagePosition
.Right)
Platform\iOS\Extensions\Extensions.cs (2)
48
layout.Position == Button.ButtonContentLayout.
ImagePosition
.Left ||
49
layout.Position == Button.ButtonContentLayout.
ImagePosition
.Right;