Indeed
Explore posts from serversWPF with html-css alike framework?
Hi!
I came back to make some apps for myself in wpf after working for a long time in frontend. and on god - i love the DI and MVVM architecture but I cannot stand XAML for the life of me. Is there something like wpf mvvm but with html and css? I know xamarin supports css, but html?
14 replies
✅ C# Like PHP in terms of live changes
Hi!
At work I'm using php with bits of Symphony and Im curious whether there is a way to achieve something similiar in C# in terms of being able to dynamically change endpoints while the program is running and also have endpoints be checked independently - i.e. while modifying one checkpoint all other work
33 replies
❔ WPF Cannot find child when it's there
Hi!
I am working on my own RoundedCorners attachedproperty however I have stumbled upon a problem
Problem: When an item that starts invisible goes visible the effect is not applied
I've tried experimenting with Loaded and IsVisibleChanged events, where IsVisibleChanged actually fires on the visibility change and the Loaded fires on the start
But when IsVisibleChanged fires there are still no children detected in a tree to even try to look for a border
10 replies
❔ WPF Border TemplateBinding
Hi!
I've created such style for most of my controls to have rounded corners
however i would like for them to be modifiable
ive written an attached property however i do not have a way to bind it
style
property
normally one would use a template binding in the style but i cant do that while keeping the style generic
2 replies
✅ WPF Store Singleton Action PropertyChanged optimization
Hi!
I have a singleton in my app responsible for weather management
currently each of my properties on the object has an Action<T> where T is property's type, however that means i have to write an action for each property
is there a better way?
12 replies
❔ WPF multiple data contexts
Hi!
In my wpf app i need to have view-specific commands but i am already using my separate ViewModel (MVVM) as a data context? How can I achieve it wanting a button do something view-specific but also something on the model?
54 replies
Wait for async function in synchronous context for X time until cancel
Hi!
How can i wait X time for this function to finish or otherwise throw/cancel/return something
This function comes from an outside library
Only things I see are with usage of await but i need this method to be synchronous
6 replies