1 write to NewElement
Microsoft.Maui.Controls (1)
VisualElement\VisualElementChangedEventArgs.cs (1)
17
NewElement
= newElement;
34 references to NewElement
Microsoft.Maui.Controls (17)
Compatibility\Handlers\iOS\FrameRenderer.cs (2)
61
if (e.
NewElement
!= null)
63
_actualView.CrossPlatformLayout = e.
NewElement
;
Compatibility\Handlers\iOS\VisualElementRenderer.cs (1)
80
if (e.
NewElement
is VisualElement newVe)
Compatibility\Handlers\ListView\iOS\ListViewRenderer.cs (9)
222
if (e.
NewElement
!= null)
232
var parentNav = e.
NewElement
.FindParentOfType<NavigationPage>();
235
_tableViewController = new FormsUITableViewController(e.
NewElement
, _usingLargeTitles);
248
var listView = e.
NewElement
;
251
var templatedItems = ((ITemplatedItemsView<Cell>)e.
NewElement
).TemplatedItems;
258
Control.Source = _dataSource = e.
NewElement
.HasUnevenRows ? new UnevenListViewDataSource(e.
NewElement
, _tableViewController) : new ListViewDataSource(e.
NewElement
, _tableViewController);
271
var selected = e.
NewElement
.SelectedItem;
Compatibility\Handlers\NavigationPage\iOS\NavigationRenderer.cs (1)
1784
OnElementChanged(new VisualElementChangedEventArgs(e.OldElement, e.
NewElement
));
Compatibility\Handlers\TableView\iOS\TableViewRenderer.cs (2)
70
if (e.
NewElement
!= null)
72
var style = GetTableViewStyle(e.
NewElement
.Intent);
Compatibility\Handlers\ViewHandlerDelegator.cs (1)
111
e.
NewElement
as VisualElement));
Platform\GestureManager\GesturePlatformManager.iOS.cs (1)
814
if (e.
NewElement
!= null)
Microsoft.Maui.Controls.Compatibility (17)
RendererToHandlerShim.cs (3)
116
if (e.
NewElement
is IView newView)
128
else if (e.
NewElement
!= null)
129
throw new Exception($"{e.
NewElement
} must implement: {nameof(Microsoft.Maui.IView)}");
Tizen\Renderers\NavigationPageRenderer.cs (3)
55
if (e.
NewElement
!= null)
57
var navigation = e.
NewElement
as INavigationPageController;
66
_previousPage = e.
NewElement
.CurrentPage;
Tizen\Renderers\ScrollViewRenderer.cs (2)
35
if (e.
NewElement
!= null)
37
(e.
NewElement
as IScrollViewController).ScrollToRequested += OnScrollRequested;
Tizen\Renderers\VisualElementRenderer.cs (9)
327
var args = new VisualElementChangedEventArgs(e.OldElement, e.
NewElement
);
332
if (null != e.
NewElement
)
334
e.
NewElement
.PropertyChanged += OnElementPropertyChanged;
335
e.
NewElement
.BatchCommitted += OnBatchCommitted;
337
e.
NewElement
.ChildAdded += OnChildAdded;
338
e.
NewElement
.ChildRemoved += OnChildRemoved;
339
e.
NewElement
.ChildrenReordered += OnChildrenReordered;
341
e.
NewElement
.FocusChangeRequested += OnFocusChangeRequested;
347
var controller = e.
NewElement
as IElementController;