Vir Godem
Vir Godem
CC#
Created by Vir Godem on 10/3/2024 in #help
WPF Submenu Styling
Tried styling Popup as well since it generates a PopupRoot. Didn't work either.
7 replies
CC#
Created by Vir Godem on 10/3/2024 in #help
WPF Submenu Styling
But the outside gray part is still there.
7 replies
CC#
Created by Vir Godem on 10/3/2024 in #help
WPF Submenu Styling
As you'd expect, the red parts just disappeared.
7 replies
CC#
Created by Vir Godem on 10/3/2024 in #help
WPF Submenu Styling
No description
7 replies
CC#
Created by Vir Godem on 10/3/2024 in #help
WPF Submenu Styling
Yes. The borderbrush was mainly to see where the border even was.
7 replies
CC#
Created by Vir Godem on 3/22/2023 in #help
How do collections implement Remove and Contains?
Alright lol.
5 replies
CC#
Created by Vir Godem on 2/26/2023 in #help
❔ Record help
But I want to use the B from the constructor.
14 replies
CC#
Created by Vir Godem on 2/26/2023 in #help
❔ Record help
I could replace AsDouble with any other computation.
14 replies
CC#
Created by Vir Godem on 2/26/2023 in #help
❔ Record help
That was just an example tbh.
14 replies
CC#
Created by Vir Godem on 2/26/2023 in #help
❔ Record help
Basically, I'm trying to do something like the following, where the AsDouble evaluates the B from the constructor, not the the required property.
public record A(int B)
{
public required int B { get; set; }
public double AsDouble { get; } = (double)B;
}
public record A(int B)
{
public required int B { get; set; }
public double AsDouble { get; } = (double)B;
}
14 replies