routedevent Questions
2
Solved
I'm developing a TreeView based control and my double click event continues to bubble up my TreeViewItem nodes.
The goal is to have the TreeViewItem expand or collapse when it is double clicked.
...
Comptroller asked 9/8, 2010 at 21:57
5
Solved
I want to fade a window in/out in my application.
Fading in occurs on Window.Loaded and I wanted to fade out on close (Window.Closed or Window.Closing).
Fading in works perfectly, but Window.Closi...
Humidity asked 15/5, 2009 at 9:0
1
Solved
Now that I have a Custom Routed Event, how can I specify a handler in XAML?
<Window.Resources>
<Style TargetType="Grid">
<Setter Property="funk:Tap.Handler"
Value="{Binding TapHa...
Sourwood asked 6/9, 2016 at 13:26
1
Solved
I'm trying to translate this C# code. My attempt so far:
type MyButtonSimple() as self =
inherit Button()
static let TapEvent =
EventManager.RegisterRoutedEvent
( "Tap", RoutingStrategy.Bubbl...
Shererd asked 1/9, 2016 at 16:30
2
The question is that after all my research I still can't find the difference between a regular routed event and a attached event. What is the functional the difference? or do others agree that ther...
Coexist asked 1/6, 2011 at 8:17
3
Solved
Background: I'm using WPF and C# (3.5) and am working on an app that allows a user to view a form/window/usercontrol that's already part of a compiled assembly. When they view it, they should be ab...
Dodgson asked 11/6, 2009 at 18:8
2
Solved
I am trying to replicate some C# code which creates an IObservable from a Button.Click event.
I want to port this code to F#.
Here is the original C# code which compiles without errors:
Observabl...
Inosculate asked 27/2, 2011 at 4:1
1
is there a way to pass input events (primarily mouse, but eventually keyboard input too) that occurs on a HwndHost back to the underlying WPF controls (e.g. a panel) ? i can hook up to WndProc with...
Madson asked 25/8, 2010 at 8:10
2
Trying to get OnMouse events appearing in a child FrameworkElement. The parent element is a Panel (and the Background property is not Null).
class MyFrameworkElement : FrameworkElement
{
protect...
Nutriment asked 16/7, 2010 at 21:52
1
Solved
Does routed events in WPF store strong reference to the handler that is attached to them?
Acquainted asked 22/12, 2008 at 16:1
1
© 2022 - 2024 — McMap. All rights reserved.