Search found 142 matches
- 12 Jan 2021, 21:26
- Forum: General Discussion
- Replies: 1
- Views: 707
How should we declare collections in XAML?
It seems x:Array isn't implemented (Unknown type 'Array'). Is there another preferred way to create collections in XAML?
- 22 Dec 2020, 00:54
- Forum: General Discussion
- Replies: 1
- Views: 1265
Changing the color of an Image.
I am not sure you can do this in WPF without 3rd party, but I find myself needing this more and more. Using a background as an overlay has obvious constraints, so having the ability to do this in XAML (and, by extension, being able to animate it) would be amazing.
- 18 Dec 2020, 18:08
- Forum: General Discussion
- Replies: 7
- Views: 2199
Re: NOESIS Samples - Localization and language specific fonts
Is there any way to bind this to something static that could be notified? I was trying to keep all of this out of my view models.
- 18 Dec 2020, 02:39
- Forum: General Discussion
- Replies: 7
- Views: 2199
Re: NOESIS Samples - Localization and language specific fonts
Sorry to bump this thread, but I had the same idea with using a converter. Is there any way to update all bindings that use the loc converter? My loc service has a static event I can listen to, but I'm not sure if you could with just a converter. I think I could create a behavior that does this, but...
- 02 Dec 2020, 21:05
- Forum: General Discussion
- Replies: 3
- Views: 736
Re: Tooltip's Horizontal/Vertical offset seems to not work the first time the tooltip is created.
Ah, the size was the problem. I listened to SizeChanged & updated the position off of that, thanks.
- 30 Nov 2020, 17:43
- Forum: General Discussion
- Replies: 3
- Views: 736
Tooltip's Horizontal/Vertical offset seems to not work the first time the tooltip is created.
You can see a video of the problem here: https://files.catbox.moe/an40mv.mp4 I created a tooltip that follows the cursor. However, as you can see in the video, whenever I close and reopen the view the tooltip's position will not update at first. private void SmartToolTip_Opened(object sender, Routed...
- 19 Nov 2020, 18:43
- Forum: General Discussion
- Replies: 2
- Views: 482
Re: How to stop button mid press?
Ah, I was trying to use CaptureMouse() but it didn't seem to work, so I have been using my own flag for when the mouse is panning. I will try to use it again.
- 17 Nov 2020, 20:16
- Forum: General Discussion
- Replies: 2
- Views: 482
How to stop button mid press?
I have a group of buttons in a canvas that can be panned. If a button is being pressed and the mouse moves, I want the button to lose focus and not be pressed on mouse up. I can't seem to find a way to just stop a button from being pressed.
- 30 Oct 2020, 09:24
- Forum: General Discussion
- Replies: 7
- Views: 2106
Re: NineSlice control does not immediately work correctly.
Nevermind, I found it! It displays correctly now, thanks.
- 30 Oct 2020, 09:19
- Forum: General Discussion
- Replies: 7
- Views: 2106
Re: NineSlice control does not immediately work correctly.
No sorry, I understand that. I meant: why is my template null to begin with? Why can't the nine slice show in the editor?
> Control display options
Interesting, I haven't seen this before. I will try this.
> Control display options
Interesting, I haven't seen this before. I will try this.