94 references to InvalidationTrigger
Microsoft.Maui.Controls (93)
Button\Button.cs (6)
35 propertyChanged: (bindable, oldVal, newVal) => ((Button)bindable).InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged)); 42 propertyChanged: (bindable, oldVal, newVal) => ((Button)bindable).InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged)); 109 propertyChanged: (bindable, oldvalue, newvalue) => ((Button)bindable).InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged)); 134 InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); 401 InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); 450 => InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged);
Cells\Cell.cs (1)
47 ve?.InvalidateMeasureInternal(InvalidationTrigger.Undefined);
ContentPresenter.cs (1)
134 private protected override void InvalidateMeasureLegacy(InvalidationTrigger trigger, int depth, int depthLeveltoInvalidate)
DatePicker\DatePicker.cs (1)
148 InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged);
Handlers\Items\iOS\ItemsViewController.cs (1)
265 ItemsView.InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged);
IGridController.cs (1)
8 void InvalidateMeasureInernalNonVirtual(InvalidationTrigger trigger);
ImageButton\ImageButton.cs (1)
227 InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged);
ImageElement.cs (2)
144 imageElement?.InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); 152 ((VisualElement)sender).InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged);
IndicatorView\IndicatorView.cs (1)
167 InvalidateMeasureInternal(Internals.InvalidationTrigger.MeasureChanged);
InputView\InputView.cs (2)
165 InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); 252 InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged);
InvalidationEventArgs.cs (3)
9 public InvalidationEventArgs(InvalidationTrigger trigger) 13 public InvalidationEventArgs(InvalidationTrigger trigger, int depth) : this(trigger) 19 public InvalidationTrigger Trigger { get; private set; }
IVisualElementController.cs (1)
15 void InvalidateMeasure(InvalidationTrigger trigger);
Label\Label.cs (2)
364 label.InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); 427 InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged);
Layout\FlexLayout.cs (5)
167 ((VisualElement)bindable).InvalidateMeasureInternal(InvalidationTrigger.Undefined); 175 ((VisualElement)bindable).InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); 183 ((VisualElement)bindable).InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); 191 ((VisualElement)bindable).InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); 199 ((VisualElement)bindable).InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged);
LegacyLayouts\AbsoluteLayout.cs (1)
156 InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged);
LegacyLayouts\FlexLayout.cs (9)
155 ((VisualElement)bindable).InvalidateMeasureInternal(InvalidationTrigger.Undefined); 163 ((VisualElement)bindable).InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); 171 ((VisualElement)bindable).InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); 179 ((VisualElement)bindable).InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); 187 ((VisualElement)bindable).InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); 370 InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); 384 InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); 398 InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); 408 InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged);
LegacyLayouts\Grid.cs (3)
30 propertyChanged: (bindable, oldValue, newValue) => ((Grid)bindable).InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged)); 34 propertyChanged: (bindable, oldValue, newValue) => ((Grid)bindable).InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged)); 242 public void InvalidateMeasureInernalNonVirtual(InvalidationTrigger trigger)
LegacyLayouts\Layout.cs (13)
324 InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); 344 internal override void OnChildMeasureInvalidatedInternal(VisualElement child, InvalidationTrigger trigger, int depth) 360 InvalidationTrigger trigger; 368 trigger = InvalidationTrigger.Undefined; 545 internal virtual void OnChildMeasureInvalidated(VisualElement child, InvalidationTrigger trigger, int depth) 560 if ((trigger == InvalidationTrigger.MeasureChanged && view.Constraint == LayoutConstraint.Fixed) || 561 (trigger == InvalidationTrigger.SizeRequestChanged && view.ComputedConstraint == LayoutConstraint.Fixed)) 565 if (trigger == InvalidationTrigger.HorizontalOptionsChanged || trigger == InvalidationTrigger.VerticalOptionsChanged) 575 private protected virtual void InvalidateMeasureLegacy(InvalidationTrigger trigger, int depth, int depthLeveltoInvalidate) 579 if (trigger == InvalidationTrigger.RendererReady) 581 InvalidateMeasureInternal(new InvalidationEventArgs(InvalidationTrigger.RendererReady, depth)); 585 InvalidateMeasureInternal(new InvalidationEventArgs(InvalidationTrigger.MeasureChanged, depth));
Page\Page.cs (6)
504 internal override void OnChildMeasureInvalidatedInternal(VisualElement child, InvalidationTrigger trigger, int depth) 518 InvalidationTrigger trigger; 526 trigger = InvalidationTrigger.Undefined; 608 internal virtual void OnChildMeasureInvalidated(VisualElement child, InvalidationTrigger trigger, int depth) 630 InvalidateMeasureInternal(new InvalidationEventArgs(InvalidationTrigger.MeasureChanged, depth)); 757 InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged);
Picker\Picker.cs (2)
129 InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); 133 InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged);
RadioButton\RadioButton.cs (3)
235 => InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); 242 => InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); 259 InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged);
ScrollView\ScrollView.cs (1)
478 private protected override void InvalidateMeasureLegacy(InvalidationTrigger trigger, int depth, int depthLeveltoInvalidate)
Shell\BaseShellItem.cs (1)
287 ve?.InvalidateMeasureInternal(InvalidationTrigger.Undefined);
TemplatedView\TemplatedView.cs (1)
153 private protected override void InvalidateMeasureLegacy(InvalidationTrigger trigger, int depth, int depthLeveltoInvalidate)
TimePicker\TimePicker.cs (2)
135 InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); 154 => InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged);
View\View.cs (3)
28 ((View)bindable).InvalidateMeasureInternal(InvalidationTrigger.VerticalOptionsChanged)); 34 ((View)bindable).InvalidateMeasureInternal(InvalidationTrigger.HorizontalOptionsChanged)); 268 ((View)bindable).InvalidateMeasureInternal(InvalidationTrigger.MarginChanged);
VisualElement\VisualElement.cs (20)
467 InvalidateMeasureInternal(InvalidationTrigger.Undefined); 990 InvalidateMeasureInternal(InvalidationTrigger.RendererReady); 1012 InvalidateMeasureInternal(InvalidationTrigger.RendererReady); 1100 public void PlatformSizeChanged() => InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); 1253 protected virtual void InvalidateMeasure() => InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); 1369 public void InvalidateMeasureNonVirtual(InvalidationTrigger trigger) 1374 internal void InvalidateMeasureInternal(InvalidationTrigger trigger) 1388 case InvalidationTrigger.MarginChanged: 1389 case InvalidationTrigger.HorizontalOptionsChanged: 1390 case InvalidationTrigger.VerticalOptionsChanged: 1401 private protected void FireMeasureChanged(InvalidationTrigger trigger, int depth) 1419 internal virtual void OnChildMeasureInvalidatedInternal(VisualElement child, InvalidationTrigger trigger, int depth) 1423 case InvalidationTrigger.VerticalOptionsChanged: 1424 case InvalidationTrigger.HorizontalOptionsChanged: 1428 case InvalidationTrigger.RendererReady: 1430 case InvalidationTrigger.Undefined: 1438 FireMeasureChanged(InvalidationTrigger.MeasureChanged, depth); 1445 void IVisualElementController.InvalidateMeasure(InvalidationTrigger trigger) => InvalidateMeasureInternal(trigger); 1498 InvalidateMeasureInternal(InvalidationTrigger.Undefined); 1714 ((VisualElement)bindable).InvalidateMeasureInternal(InvalidationTrigger.SizeRequestChanged);
Microsoft.Maui.Controls.Compatibility (1)
Tizen\Renderers\VisualElementRenderer.cs (1)
681 layout.InvalidateMeasureNonVirtual(InvalidationTrigger.MeasureChanged);