hi, i'm new to dot net and i really want to get into WPF. but when i create a brand new project in visual studio or in dotnet sdk, i keep getting this error that says: The name 'InitializeComponent' does not exist in the current context? in both vs and vscode there is a red line under it as...
In my GUI I have a TextBox whose content can be edited at any time by the user and must be known in the code that has to use its latest value.
The TextBox is already bound to the procedure that checks its content is in the proper range:
<Window.Resources>
<local:DoubleRangeRule...
The ListBox is defined as follows:
<ListBox x:Name="EditableStructs" Grid.Row="5" Grid.Column="1" Margin="930,62,0,40" SelectionMode="Single" Grid.ColumnSpan="2" Background="PowderBlue" Height="500"
ScrollViewer.VerticalScrollBarVisibility="Visible"...
Thank you for all the help you have given me.
I added a couple of new features upon requests from my colleagues.
It does what it is supposed to do. However, it looks ugly.
I tried to make it more compact but WPF but I couldn't. For some reason, that I don't get, if I move horizontally one of the...
I have made a custom wpf Control and I have been trying to create a method of Position Tweening to it. I have followed the Microsoft Docs explanations but to no avail. Can someone tell me why does this code don`t work?
NameScope.SetNameScope(_Rectangle, new NameScope());
RectAnimation a = new...
Hello,
I am doing a wpf sample database project. I created a database called school details with different tables. One table is StudentDetails where I just entered the name of random five students and another table is five sets of marks for phyics, chemistry, biology and maths. Now the first...
I have a question about WPF. The interface shown in the GIF is something written in C++. I've been trying to replicate this effect for some time, but with no success.
What I've been trying to do is create a trigger to give the grid column definition a width of "*" instead of the regular "4*"...
Hi. Working with Revit API. Selected category is in the variable called "category". How to make a list of parameters that belong to that category and put it inside of a new ComboBox?
Assuming that I am going to need to continue inside of the Class.cs file. Should I create a list of all elements...
I have made me a style for the buttons that does (almost) what I want except from one thing. The text is black no matter what color I set in the foreground.
I have tried copying other styles examples which says the foreground is white. Still black. I have tried to make a label in the button and...
I have a dataset with column is known as Card_type_1. There 3 types of cards are there. One is SAR41, SAR42 and SAR108. This is a recent change. A week before it was 41,42 and 108, and now I changed it to SAR41, SAR42 and SAR108. Now there is a filter button which checks for each set of cards...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.