44 references to AbsoluteLayoutFlags
Microsoft.Maui (11)
Core\IAbsoluteLayout.cs (1)
23
AbsoluteLayoutFlags
GetLayoutFlags(IView view);
Layouts\AbsoluteLayoutManager.cs (10)
37
var
flags = AbsoluteLayout.GetLayoutFlags(child);
38
bool isWidthProportional = HasFlag(flags,
AbsoluteLayoutFlags
.WidthProportional);
39
bool isHeightProportional = HasFlag(flags,
AbsoluteLayoutFlags
.HeightProportional);
78
var
flags = AbsoluteLayout.GetLayoutFlags(child);
80
bool isWidthProportional = HasFlag(flags,
AbsoluteLayoutFlags
.WidthProportional);
81
bool isHeightProportional = HasFlag(flags,
AbsoluteLayoutFlags
.HeightProportional);
86
if (HasFlag(flags,
AbsoluteLayoutFlags
.XProportional))
91
if (HasFlag(flags,
AbsoluteLayoutFlags
.YProportional))
105
static bool HasFlag(
AbsoluteLayoutFlags
a,
AbsoluteLayoutFlags
b)
Microsoft.Maui.Controls (33)
Layout\AbsoluteLayout.cs (9)
26
typeof(
AbsoluteLayoutFlags
), typeof(AbsoluteLayout),
AbsoluteLayoutFlags
.None);
41
public static
AbsoluteLayoutFlags
GetLayoutFlags(BindableObject bindable)
43
return (
AbsoluteLayoutFlags
)bindable.GetValue(LayoutFlagsProperty);
54
public static void SetLayoutFlags(BindableObject bindable,
AbsoluteLayoutFlags
flags)
67
public
AbsoluteLayoutFlags
GetLayoutFlags(IView view)
71
BindableObject bo => (
AbsoluteLayoutFlags
)bo.GetValue(LayoutFlagsProperty),
85
public void SetLayoutFlags(IView view,
AbsoluteLayoutFlags
flags)
162
public
AbsoluteLayoutFlags
LayoutFlags { get; set; }
LegacyLayouts\AbsoluteLayout.cs (24)
18
public static readonly BindableProperty LayoutFlagsProperty = BindableProperty.CreateAttached("LayoutFlags", typeof(
AbsoluteLayoutFlags
), typeof(AbsoluteLayout),
AbsoluteLayoutFlags
.None);
53
public static
AbsoluteLayoutFlags
GetLayoutFlags(BindableObject bindable)
55
return (
AbsoluteLayoutFlags
)bindable.GetValue(LayoutFlagsProperty);
63
public static void SetLayoutFlags(BindableObject bindable,
AbsoluteLayoutFlags
flags)
114
AbsoluteLayoutFlags
layoutFlags = GetLayoutFlags(view);
116
if ((layoutFlags &
AbsoluteLayoutFlags
.SizeProportional) ==
AbsoluteLayoutFlags
.SizeProportional)
127
if ((layoutFlags &
AbsoluteLayoutFlags
.HeightProportional) != 0)
134
else if ((layoutFlags &
AbsoluteLayoutFlags
.WidthProportional) != 0)
169
AbsoluteLayoutFlags
absFlags = GetLayoutFlags(view);
170
bool widthIsProportional = (absFlags &
AbsoluteLayoutFlags
.WidthProportional) != 0;
171
bool heightIsProportional = (absFlags &
AbsoluteLayoutFlags
.HeightProportional) != 0;
172
bool xIsProportional = (absFlags &
AbsoluteLayoutFlags
.XProportional) != 0;
173
bool yIsProportional = (absFlags &
AbsoluteLayoutFlags
.YProportional) != 0;
236
AbsoluteLayoutFlags
absFlags = GetLayoutFlags(view);
237
bool widthIsProportional = (absFlags &
AbsoluteLayoutFlags
.WidthProportional) != 0;
238
bool heightIsProportional = (absFlags &
AbsoluteLayoutFlags
.HeightProportional) != 0;
239
bool xIsProportional = (absFlags &
AbsoluteLayoutFlags
.XProportional) != 0;
240
bool yIsProportional = (absFlags &
AbsoluteLayoutFlags
.YProportional) != 0;
306
void Add(View view, Rect bounds,
AbsoluteLayoutFlags
flags =
AbsoluteLayoutFlags
.None);
320
public void Add(View view, Rect bounds,
AbsoluteLayoutFlags
flags =
AbsoluteLayoutFlags
.None)