pub struct EventTreeNode { /* private fields */ }Expand description
The node of one routed event: enabling it records the event, with the chain of the elements it visits, in the events page.
The part of the deriving class of a node (see EventTreeNodeKind).
Implementations§
Source§impl EventTreeNode
impl EventTreeNode
Sourcepub fn new(
parent: &Rc<EventTreeNodeBase>,
event: RoutedEvent,
vm: Weak<EventsPageViewModel>,
) -> Rc<EventTreeNodeBase>
pub fn new( parent: &Rc<EventTreeNodeBase>, event: RoutedEvent, vm: Weak<EventsPageViewModel>, ) -> Rc<EventTreeNodeBase>
C# new EventTreeNode(EventOwnerTreeNode parent, RoutedEvent @event, EventsPageViewModel vm).
The view model of the page is held weakly: the page holds the nodes.
Sourcepub fn event(&self) -> RoutedEvent
pub fn event(&self) -> RoutedEvent
The routed event of the node.
Auto Trait Implementations§
impl !Freeze for EventTreeNode
impl !RefUnwindSafe for EventTreeNode
impl !Send for EventTreeNode
impl !Sync for EventTreeNode
impl !UnwindSafe for EventTreeNode
impl Unpin for EventTreeNode
impl UnsafeUnpin for EventTreeNode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more