Skip to content

Commit 51b3a2d

Browse files
CopilotPureWeen
andauthored
Change ComputeConstraintForView to return LayoutConstraint instead of using side effects (#31091)
* Initial plan * Implement ComputeConstraintForView return value changes as per issue #31083 Co-authored-by: PureWeen <[email protected]> * Fix LegacyLayouts/StackLayout.cs to use return values for ComputeConstraintForView Co-authored-by: PureWeen <[email protected]> * Fix final call site in LegacyLayouts/StackLayout.cs to use return value Co-authored-by: PureWeen <[email protected]> * Change ComputeConstraintForView access modifier back to protected Co-authored-by: PureWeen <[email protected]> * Address feedback: restore ViewCell constraint assignments and make ComputedConstraint setter internal Co-authored-by: PureWeen <[email protected]> * - fix public apis # Conflicts: # src/Controls/src/Core/PublicAPI/net-android/PublicAPI.Unshipped.txt # Conflicts: # src/Controls/src/Core/PublicAPI/net-android/PublicAPI.Unshipped.txt * - fix publicapi * Update PublicAPI.Unshipped.txt * Fix LegacyLayouts/Grid.cs to use individual constraint assignment as requested Co-authored-by: PureWeen <[email protected]> * Revert ListView.cs constraint assignment removal as requested Co-authored-by: PureWeen <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: PureWeen <[email protected]> Co-authored-by: Shane Neuville <[email protected]>
1 parent b104fe1 commit 51b3a2d

File tree

18 files changed

+120
-120
lines changed

18 files changed

+120
-120
lines changed

src/Controls/src/Core/ContentPresenter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ internal virtual void Clear()
8383
Content = null;
8484
}
8585

86-
protected override void ComputeConstraintForView(View view)
86+
protected override LayoutConstraint ComputeConstraintForView(View view)
8787
{
8888
bool isFixedHorizontally = (Constraint & LayoutConstraint.HorizontallyFixed) != 0;
8989
bool isFixedVertically = (Constraint & LayoutConstraint.VerticallyFixed) != 0;
@@ -99,7 +99,7 @@ protected override void ComputeConstraintForView(View view)
9999
result |= LayoutConstraint.HorizontallyFixed;
100100
}
101101

102-
view.ComputedConstraint = result;
102+
return result;
103103
}
104104

105105
internal override void SetChildInheritedBindingContext(Element child, object context)

src/Controls/src/Core/Layout/Grid.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ protected override void OnBindingContextChanged()
357357
UpdateRowColumnBindingContexts();
358358
}
359359

360-
protected override void ComputeConstraintForView(View view)
360+
protected override LayoutConstraint ComputeConstraintForView(View view)
361361
{
362362
var result = LayoutConstraint.None;
363363

@@ -371,7 +371,7 @@ protected override void ComputeConstraintForView(View view)
371371
result |= LayoutConstraint.HorizontallyFixed;
372372
}
373373

374-
view.ComputedConstraint = result;
374+
return result;
375375
}
376376

377377
bool ViewHasFixedHeightDefinition(BindableObject view)

src/Controls/src/Core/Layout/HorizontalStackLayout.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ public class HorizontalStackLayout : StackBase
88
{
99
protected override ILayoutManager CreateLayoutManager() => new HorizontalStackLayoutManager(this);
1010

11-
protected override void ComputeConstraintForView(View view)
11+
protected override LayoutConstraint ComputeConstraintForView(View view)
1212
{
1313
if ((Constraint & LayoutConstraint.VerticallyFixed) != 0 && view.VerticalOptions.Alignment == LayoutAlignment.Fill)
1414
{
15-
view.ComputedConstraint = LayoutConstraint.VerticallyFixed;
15+
return LayoutConstraint.VerticallyFixed;
1616
}
1717
else
1818
{
19-
view.ComputedConstraint = LayoutConstraint.None;
19+
return LayoutConstraint.None;
2020
}
2121
}
2222
}

src/Controls/src/Core/Layout/StackLayout.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,28 +37,28 @@ protected override ILayoutManager CreateLayoutManager()
3737
return new StackLayoutManager(this);
3838
}
3939

40-
protected override void ComputeConstraintForView(View view)
40+
protected override LayoutConstraint ComputeConstraintForView(View view)
4141
{
4242
if (Orientation == StackOrientation.Horizontal)
4343
{
4444
if ((Constraint & LayoutConstraint.VerticallyFixed) != 0 && view.VerticalOptions.Alignment == LayoutAlignment.Fill)
4545
{
46-
view.ComputedConstraint = LayoutConstraint.VerticallyFixed;
46+
return LayoutConstraint.VerticallyFixed;
4747
}
4848
else
4949
{
50-
view.ComputedConstraint = LayoutConstraint.None;
50+
return LayoutConstraint.None;
5151
}
5252
}
5353
else
5454
{
5555
if ((Constraint & LayoutConstraint.HorizontallyFixed) != 0 && view.HorizontalOptions.Alignment == LayoutAlignment.Fill)
5656
{
57-
view.ComputedConstraint = LayoutConstraint.HorizontallyFixed;
57+
return LayoutConstraint.HorizontallyFixed;
5858
}
5959
else
6060
{
61-
view.ComputedConstraint = LayoutConstraint.None;
61+
return LayoutConstraint.None;
6262
}
6363
}
6464
}

src/Controls/src/Core/Layout/VerticalStackLayout.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ public class VerticalStackLayout : StackBase
88
{
99
protected override ILayoutManager CreateLayoutManager() => new VerticalStackLayoutManager(this);
1010

11-
protected override void ComputeConstraintForView(View view)
11+
protected override LayoutConstraint ComputeConstraintForView(View view)
1212
{
1313
if ((Constraint & LayoutConstraint.HorizontallyFixed) != 0 && view.HorizontalOptions.Alignment == LayoutAlignment.Fill)
1414
{
15-
view.ComputedConstraint = LayoutConstraint.HorizontallyFixed;
15+
return LayoutConstraint.HorizontallyFixed;
1616
}
1717
else
1818
{
19-
view.ComputedConstraint = LayoutConstraint.None;
19+
return LayoutConstraint.None;
2020
}
2121
}
2222
}

src/Controls/src/Core/LegacyLayouts/AbsoluteLayout.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,17 +109,17 @@ protected override SizeRequest OnMeasure(double widthConstraint, double heightCo
109109
return new SizeRequest(bestFitSize, minimum);
110110
}
111111

112-
protected override void ComputeConstraintForView(View view)
112+
protected override LayoutConstraint ComputeConstraintForView(View view)
113113
{
114114
AbsoluteLayoutFlags layoutFlags = GetLayoutFlags(view);
115115

116116
if ((layoutFlags & AbsoluteLayoutFlags.SizeProportional) == AbsoluteLayoutFlags.SizeProportional)
117117
{
118118
if (view.VerticalOptions.Alignment == LayoutAlignment.Fill &&
119119
view.HorizontalOptions.Alignment == LayoutAlignment.Fill)
120-
view.ComputedConstraint = Constraint;
120+
return Constraint;
121121

122-
return;
122+
return LayoutConstraint.None;
123123
}
124124

125125
var result = LayoutConstraint.None;
@@ -146,7 +146,7 @@ protected override void ComputeConstraintForView(View view)
146146
result |= LayoutConstraint.VerticallyFixed;
147147
}
148148

149-
view.ComputedConstraint = result;
149+
return result;
150150
}
151151

152152
void ChildOnPropertyChanged(object sender, PropertyChangedEventArgs e)

src/Controls/src/Core/LegacyLayouts/Grid.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ protected override void OnRemoved(View view)
171171
view.PropertyChanged -= OnItemPropertyChanged;
172172
}
173173

174-
protected override void ComputeConstraintForView(View view)
174+
protected override LayoutConstraint ComputeConstraintForView(View view)
175175
{
176176
LayoutOptions vOptions = view.VerticalOptions;
177177
LayoutOptions hOptions = view.HorizontalOptions;
@@ -235,7 +235,7 @@ protected override void ComputeConstraintForView(View view)
235235
result |= LayoutConstraint.HorizontallyFixed;
236236
}
237237

238-
view.ComputedConstraint = result;
238+
return result;
239239
}
240240

241241
[EditorBrowsable(EditorBrowsableState.Never)]
@@ -259,7 +259,7 @@ void OnItemPropertyChanged(object sender, PropertyChangedEventArgs e)
259259
var child = sender as View;
260260
if (child != null)
261261
{
262-
ComputeConstraintForView(child);
262+
child.ComputedConstraint = ComputeConstraintForView(child);
263263
}
264264

265265
InvalidateLayout();

src/Controls/src/Core/LegacyLayouts/StackLayout.cs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ internal override void OnChildMeasureInvalidated(VisualElement child, Invalidati
9898
base.OnChildMeasureInvalidated(child, trigger);
9999
}
100100

101-
protected override void ComputeConstraintForView(View view)
101+
protected override LayoutConstraint ComputeConstraintForView(View view)
102102
{
103-
ComputeConstraintForView(view, false);
103+
return ComputeConstraintForView(view, false);
104104
}
105105

106106
internal override void InvalidateMeasureInternal(InvalidationTrigger trigger)
@@ -172,7 +172,7 @@ void CalculateNaiveLayout(LayoutInformation layout, StackOrientation orientation
172172
if (expander != null)
173173
{
174174
// we have multiple expanders, make sure previous expanders are reset to not be fixed because they no logner are
175-
ComputeConstraintForView(child, false);
175+
child.ComputedConstraint = ComputeConstraintForView(child, false);
176176
}
177177
expander = child;
178178
}
@@ -191,7 +191,7 @@ void CalculateNaiveLayout(LayoutInformation layout, StackOrientation orientation
191191
}
192192
minimumHeight -= spacing;
193193
if (expander != null)
194-
ComputeConstraintForView(expander, layout.Expanders == 1); // warning : slightly obtuse, but we either need to setup the expander or clear the last one
194+
expander.ComputedConstraint = ComputeConstraintForView(expander, layout.Expanders == 1); // warning : slightly obtuse, but we either need to setup the expander or clear the last one
195195
}
196196
else
197197
{
@@ -207,7 +207,7 @@ void CalculateNaiveLayout(LayoutInformation layout, StackOrientation orientation
207207
layout.Expanders++;
208208
if (expander != null)
209209
{
210-
ComputeConstraintForView(child, false);
210+
child.ComputedConstraint = ComputeConstraintForView(child, false);
211211
}
212212
expander = child;
213213
}
@@ -226,7 +226,7 @@ void CalculateNaiveLayout(LayoutInformation layout, StackOrientation orientation
226226
}
227227
minimumWidth -= spacing;
228228
if (expander != null)
229-
ComputeConstraintForView(expander, layout.Expanders == 1);
229+
expander.ComputedConstraint = ComputeConstraintForView(expander, layout.Expanders == 1);
230230
}
231231

232232
layout.Bounds = new Rect(x, y, boundsWidth, boundsHeight);
@@ -362,24 +362,24 @@ void CompressVerticalLayout(LayoutInformation layout, double widthConstraint, do
362362
}
363363
}
364364

365-
void ComputeConstraintForView(View view, bool isOnlyExpander)
365+
LayoutConstraint ComputeConstraintForView(View view, bool isOnlyExpander)
366366
{
367367
if (Orientation == StackOrientation.Horizontal)
368368
{
369369
if ((Constraint & LayoutConstraint.VerticallyFixed) != 0 && view.VerticalOptions.Alignment == LayoutAlignment.Fill)
370370
{
371371
if (isOnlyExpander && view.HorizontalOptions.Alignment == LayoutAlignment.Fill && Constraint == LayoutConstraint.Fixed)
372372
{
373-
view.ComputedConstraint = LayoutConstraint.Fixed;
373+
return LayoutConstraint.Fixed;
374374
}
375375
else
376376
{
377-
view.ComputedConstraint = LayoutConstraint.VerticallyFixed;
377+
return LayoutConstraint.VerticallyFixed;
378378
}
379379
}
380380
else
381381
{
382-
view.ComputedConstraint = LayoutConstraint.None;
382+
return LayoutConstraint.None;
383383
}
384384
}
385385
else
@@ -388,16 +388,16 @@ void ComputeConstraintForView(View view, bool isOnlyExpander)
388388
{
389389
if (isOnlyExpander && view.VerticalOptions.Alignment == LayoutAlignment.Fill && Constraint == LayoutConstraint.Fixed)
390390
{
391-
view.ComputedConstraint = LayoutConstraint.Fixed;
391+
return LayoutConstraint.Fixed;
392392
}
393393
else
394394
{
395-
view.ComputedConstraint = LayoutConstraint.HorizontallyFixed;
395+
return LayoutConstraint.HorizontallyFixed;
396396
}
397397
}
398398
else
399399
{
400-
view.ComputedConstraint = LayoutConstraint.None;
400+
return LayoutConstraint.None;
401401
}
402402
}
403403
}

src/Controls/src/Core/PublicAPI/net-android/PublicAPI.Unshipped.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -270,12 +270,12 @@ override Microsoft.Maui.Controls.ColumnDefinitionCollectionTypeConverter.CanConv
270270
override Microsoft.Maui.Controls.ColumnDefinitionCollectionTypeConverter.CanConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Type? destinationType) -> bool
271271
override Microsoft.Maui.Controls.ColumnDefinitionCollectionTypeConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object! value) -> object?
272272
override Microsoft.Maui.Controls.ColumnDefinitionCollectionTypeConverter.ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type! destinationType) -> object?
273-
~override Microsoft.Maui.Controls.Compatibility.AbsoluteLayout.ComputeConstraintForView(Microsoft.Maui.Controls.View view) -> void
274-
~override Microsoft.Maui.Controls.Compatibility.Grid.ComputeConstraintForView(Microsoft.Maui.Controls.View view) -> void
273+
~override Microsoft.Maui.Controls.Compatibility.AbsoluteLayout.ComputeConstraintForView(Microsoft.Maui.Controls.View view) -> Microsoft.Maui.Controls.LayoutConstraint
274+
~override Microsoft.Maui.Controls.Compatibility.Grid.ComputeConstraintForView(Microsoft.Maui.Controls.View view) -> Microsoft.Maui.Controls.LayoutConstraint
275275
~override Microsoft.Maui.Controls.Compatibility.Layout.OnChildAdded(Microsoft.Maui.Controls.Element child) -> void
276276
~override Microsoft.Maui.Controls.Compatibility.Layout.OnChildRemoved(Microsoft.Maui.Controls.Element child, int oldLogicalIndex) -> void
277-
~override Microsoft.Maui.Controls.Compatibility.StackLayout.ComputeConstraintForView(Microsoft.Maui.Controls.View view) -> void
278-
~override Microsoft.Maui.Controls.ContentPresenter.ComputeConstraintForView(Microsoft.Maui.Controls.View view) -> void
277+
~override Microsoft.Maui.Controls.Compatibility.StackLayout.ComputeConstraintForView(Microsoft.Maui.Controls.View view) -> Microsoft.Maui.Controls.LayoutConstraint
278+
~override Microsoft.Maui.Controls.ContentPresenter.ComputeConstraintForView(Microsoft.Maui.Controls.View view) -> Microsoft.Maui.Controls.LayoutConstraint
279279
override Microsoft.Maui.Controls.ContentPresenter.InvalidateLayout() -> void
280280
override Microsoft.Maui.Controls.ContentPresenter.Measure(double widthConstraint, double heightConstraint, Microsoft.Maui.Controls.MeasureFlags flags = Microsoft.Maui.Controls.MeasureFlags.None) -> Microsoft.Maui.SizeRequest
281281
override Microsoft.Maui.Controls.ContentPresenter.OnChildMeasureInvalidated() -> void
@@ -299,12 +299,12 @@ override Microsoft.Maui.Controls.FontSizeConverter.CanConvertFrom(System.Compone
299299
override Microsoft.Maui.Controls.FontSizeConverter.CanConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Type? destinationType) -> bool
300300
override Microsoft.Maui.Controls.FontSizeConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object! value) -> object?
301301
override Microsoft.Maui.Controls.FontSizeConverter.ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type! destinationType) -> object?
302-
~override Microsoft.Maui.Controls.Grid.ComputeConstraintForView(Microsoft.Maui.Controls.View view) -> void
302+
~override Microsoft.Maui.Controls.Grid.ComputeConstraintForView(Microsoft.Maui.Controls.View view) -> Microsoft.Maui.Controls.LayoutConstraint
303303
override Microsoft.Maui.Controls.GridLengthTypeConverter.CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type! sourceType) -> bool
304304
override Microsoft.Maui.Controls.GridLengthTypeConverter.CanConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Type? destinationType) -> bool
305305
override Microsoft.Maui.Controls.GridLengthTypeConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object! value) -> object?
306306
override Microsoft.Maui.Controls.GridLengthTypeConverter.ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type! destinationType) -> object?
307-
~override Microsoft.Maui.Controls.HorizontalStackLayout.ComputeConstraintForView(Microsoft.Maui.Controls.View view) -> void
307+
~override Microsoft.Maui.Controls.HorizontalStackLayout.ComputeConstraintForView(Microsoft.Maui.Controls.View view) -> Microsoft.Maui.Controls.LayoutConstraint
308308
override Microsoft.Maui.Controls.ImageSourceConverter.CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type! sourceType) -> bool
309309
override Microsoft.Maui.Controls.ImageSourceConverter.CanConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Type? destinationType) -> bool
310310
override Microsoft.Maui.Controls.ImageSourceConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object! value) -> object?
@@ -335,7 +335,7 @@ override Microsoft.Maui.Controls.RowDefinitionCollectionTypeConverter.CanConvert
335335
override Microsoft.Maui.Controls.RowDefinitionCollectionTypeConverter.CanConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Type? destinationType) -> bool
336336
override Microsoft.Maui.Controls.RowDefinitionCollectionTypeConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object! value) -> object?
337337
override Microsoft.Maui.Controls.RowDefinitionCollectionTypeConverter.ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type! destinationType) -> object?
338-
~override Microsoft.Maui.Controls.ScrollView.ComputeConstraintForView(Microsoft.Maui.Controls.View view) -> void
338+
~override Microsoft.Maui.Controls.ScrollView.ComputeConstraintForView(Microsoft.Maui.Controls.View view) -> Microsoft.Maui.Controls.LayoutConstraint
339339
override Microsoft.Maui.Controls.ScrollView.InvalidateLayout() -> void
340340
override Microsoft.Maui.Controls.ScrollView.Measure(double widthConstraint, double heightConstraint, Microsoft.Maui.Controls.MeasureFlags flags = Microsoft.Maui.Controls.MeasureFlags.None) -> Microsoft.Maui.SizeRequest
341341
override Microsoft.Maui.Controls.ScrollView.OnChildMeasureInvalidated() -> void
@@ -366,9 +366,9 @@ override Microsoft.Maui.Controls.Shapes.TransformTypeConverter.CanConvertFrom(Sy
366366
override Microsoft.Maui.Controls.Shapes.TransformTypeConverter.CanConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Type? destinationType) -> bool
367367
override Microsoft.Maui.Controls.Shapes.TransformTypeConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object! value) -> object?
368368
override Microsoft.Maui.Controls.Shapes.TransformTypeConverter.ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type! destinationType) -> object?
369-
~override Microsoft.Maui.Controls.StackLayout.ComputeConstraintForView(Microsoft.Maui.Controls.View view) -> void
370-
~override Microsoft.Maui.Controls.TemplatedPage.ComputeConstraintForView(Microsoft.Maui.Controls.View view) -> void
371-
~override Microsoft.Maui.Controls.TemplatedView.ComputeConstraintForView(Microsoft.Maui.Controls.View view) -> void
369+
~override Microsoft.Maui.Controls.StackLayout.ComputeConstraintForView(Microsoft.Maui.Controls.View view) -> Microsoft.Maui.Controls.LayoutConstraint
370+
~override Microsoft.Maui.Controls.TemplatedPage.ComputeConstraintForView(Microsoft.Maui.Controls.View view) -> Microsoft.Maui.Controls.LayoutConstraint
371+
~override Microsoft.Maui.Controls.TemplatedView.ComputeConstraintForView(Microsoft.Maui.Controls.View view) -> Microsoft.Maui.Controls.LayoutConstraint
372372
override Microsoft.Maui.Controls.TemplatedView.InvalidateLayout() -> void
373373
override Microsoft.Maui.Controls.TemplatedView.OnChildMeasureInvalidated() -> void
374374
override Microsoft.Maui.Controls.TemplatedView.OnSizeAllocated(double width, double height) -> void
@@ -387,7 +387,7 @@ override Microsoft.Maui.Controls.UriTypeConverter.CanConvertFrom(System.Componen
387387
override Microsoft.Maui.Controls.UriTypeConverter.CanConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Type? destinationType) -> bool
388388
override Microsoft.Maui.Controls.UriTypeConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object! value) -> object?
389389
override Microsoft.Maui.Controls.UriTypeConverter.ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type! destinationType) -> object?
390-
~override Microsoft.Maui.Controls.VerticalStackLayout.ComputeConstraintForView(Microsoft.Maui.Controls.View view) -> void
390+
~override Microsoft.Maui.Controls.VerticalStackLayout.ComputeConstraintForView(Microsoft.Maui.Controls.View view) -> Microsoft.Maui.Controls.LayoutConstraint
391391
override Microsoft.Maui.Controls.WebViewSourceTypeConverter.CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type! sourceType) -> bool
392392
override Microsoft.Maui.Controls.WebViewSourceTypeConverter.CanConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Type? destinationType) -> bool
393393
override Microsoft.Maui.Controls.WebViewSourceTypeConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object! value) -> object?
@@ -510,4 +510,4 @@ virtual Microsoft.Maui.Controls.Handlers.TabbedPageManager.UpdateStyleForTabItem
510510
virtual Microsoft.Maui.Controls.Handlers.TabbedPageManager.UpdateTabIcons() -> void
511511
~virtual Microsoft.Maui.Controls.Internals.EvaluateJavaScriptDelegate.Invoke(string script) -> System.Threading.Tasks.Task<string>
512512
~virtual Microsoft.Maui.Controls.PropertyChangingEventHandler.Invoke(object sender, Microsoft.Maui.Controls.PropertyChangingEventArgs e) -> void
513-
~virtual Microsoft.Maui.Controls.VisualElement.ComputeConstraintForView(Microsoft.Maui.Controls.View view) -> void
513+
~virtual Microsoft.Maui.Controls.VisualElement.ComputeConstraintForView(Microsoft.Maui.Controls.View view) -> Microsoft.Maui.Controls.LayoutConstraint

0 commit comments

Comments
 (0)