Hannsen
Hannsen
CC#
Created by Karthik on 7/21/2024 in #help
WPF app, having trouble setting vertical bounds on a TextBlock
Would that be a solution for you? - Otherwise, you are in need to kind of also control the Padding of the TextBox dynamically depending on a ratio, which i would not recommend,
22 replies
CC#
Created by Karthik on 7/21/2024 in #help
WPF app, having trouble setting vertical bounds on a TextBlock
<Viewbox> <TextBox /> <Viewbox>
22 replies
CC#
Created by Karthik on 7/21/2024 in #help
WPF app, having trouble setting vertical bounds on a TextBlock
Like:
22 replies
CC#
Created by Karthik on 7/21/2024 in #help
WPF app, having trouble setting vertical bounds on a TextBlock
With this, you could also get rid of the Slider control at all.
22 replies
CC#
Created by Karthik on 7/21/2024 in #help
WPF app, having trouble setting vertical bounds on a TextBlock
If you want to achieve, that the TextBox is shown with the largest view possible, then try to wrap it in a ViewBox control. - FontSize then does not matter anymore directly.
22 replies
CC#
Created by Ellen Joe.♡ on 7/16/2024 in #help
Bevel effect in Style Template
And set the Opacity as how you want it. Opacity is a value between 0 and 1
5 replies
CC#
Created by Ellen Joe.♡ on 7/16/2024 in #help
Bevel effect in Style Template
Fill it with "White"
5 replies
CC#
Created by Ellen Joe.♡ on 7/16/2024 in #help
Bevel effect in Style Template
You could place a Grid within your Border, within the Grid you place a Rectangle and set RadiusX and RadiusY.
5 replies
CC#
Created by cj on 7/20/2024 in #help
i want to assign the grades with the grade points how can i do that?
Have a look at https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.zip?view=net-8.0 maybe it is also suitable for you if you want to keep two value sources initially
59 replies
CC#
Created by me_camel on 7/20/2024 in #help
can somebody help me,
Open the windows file explorer, go to your unity project, and look for duplicate classes there
22 replies
CC#
Created by me_camel on 7/20/2024 in #help
can somebody help me,
No description
22 replies
CC#
Created by me_camel on 7/20/2024 in #help
can somebody help me,
I had a look at the unity docs and the MonoBehavior Class. - Seems like nothing is wrong with your code because there is no virtual Update in the base Class.
22 replies
CC#
Created by Mideks on 5/2/2023 in #help
❔ How can I bind Fill Color to Enum Value?
40 replies
CC#
Created by Mideks on 5/2/2023 in #help
❔ How can I bind Fill Color to Enum Value?
Good point. - Cool thing in WPF is, i mostly always actually derive my Converters from MarkupExtension
40 replies
CC#
Created by Mideks on 5/2/2023 in #help
❔ How can I bind Fill Color to Enum Value?
Maybe i missunderstood that sentence. 🙂
40 replies
CC#
Created by Mideks on 5/2/2023 in #help
❔ How can I bind Fill Color to Enum Value?
True that.
40 replies
CC#
Created by Mideks on 5/2/2023 in #help
❔ How can I bind Fill Color to Enum Value?
With that, it would work as well
40 replies
CC#
Created by Mideks on 5/2/2023 in #help
❔ How can I bind Fill Color to Enum Value?
But, if you would really like to keep the logic in the viewmodel. Then a way would be: - Add another property "public string TesteValueColor" without the ObservableProperty annotation and just a getter. - Put the color conversion into the getter of that property. - Add the additional annotation [NotifyPropertyChangedFor(nameof(TesteValueColor))] to the TesteValue Enum property.
40 replies
CC#
Created by Mideks on 5/2/2023 in #help
❔ How can I bind Fill Color to Enum Value?
But i am not sure, if you then would need a "Converter" anyway...
40 replies