4 writes to _headerRenderer
Microsoft.Maui.Controls.Compatibility (4)
iOS\Renderers\ListViewRenderer.cs (4)
214
_headerRenderer
= null;
536
_headerRenderer
= null;
539
_headerRenderer
= Platform.CreateRenderer(headerView);
557
_headerRenderer
= null;
20 references to _headerRenderer
Microsoft.Maui.Controls.Compatibility (20)
iOS\Renderers\ListViewRenderer.cs (20)
72
if (
_headerRenderer
!= null)
74
var e =
_headerRenderer
.Element;
89
if (
_headerRenderer
!= null)
90
Control.TableHeaderView =
_headerRenderer
.NativeView;
211
if (
_headerRenderer
!= null)
213
_headerRenderer
.Element?.DisposeModalAndChildRenderers();
430
Control.TableHeaderView =
_headerRenderer
.NativeView;
522
if (
_headerRenderer
!= null)
524
_headerRenderer
.Element.MeasureInvalidated -= OnHeaderMeasureInvalidated;
525
var reflectableType =
_headerRenderer
as System.Reflection.IReflectableType;
526
var rendererType = reflectableType != null ? reflectableType.GetTypeInfo().AsType() :
_headerRenderer
.GetType();
529
_headerRenderer
.SetElement(headerView);
534
_headerRenderer
.Element?.DisposeModalAndChildRenderers();
535
_headerRenderer
.Dispose();
541
Platform.SetRenderer(headerView,
_headerRenderer
);
547
Control.TableHeaderView =
_headerRenderer
.NativeView;
550
else if (
_headerRenderer
!= null)
553
_headerRenderer
.Element.MeasureInvalidated -= OnHeaderMeasureInvalidated;
555
_headerRenderer
.Element?.DisposeModalAndChildRenderers();
556
_headerRenderer
.Dispose();