Search results for query: *

  1. glasswizzard

    How do you search through a datatable?

    Thanks for the psuedocode Skydiver, it's really helpful. The DataTable is the data source for a datagrid on my UI, that's why I'm using a DataTable, I'm not using a database. Maybe I'm using the wrong thing for the wrong reason?
  2. glasswizzard

    How do you search through a datatable?

    I'm trying to do this but my data is in a datatable not an array. I've been trying for ages to figure how to copy the whole thing into a 2d array so that my situation more closely matches your code. Could you tell or show me how to copy it into an array?
  3. glasswizzard

    Question Dynamically Creating Textblocks and Grids

    I could send you the titles of the threads that can be marked solved if you want since I can't do it myself. I'm trying to follow the rules but I'm not being told off by mods for leaving my threads hanging so I'm wondering if anyone actually cares or not.
  4. glasswizzard

    Question How do I bind in this manner? Multi-binding?

    Wow, thank you very much for taking the time to do that, this is gonna give me something to chew on for a while. If anyone has an answer there's one small thing that leaves me scratching my head, why use a scrollviewer? It seems unnecessary, is there a reason it's there?
  5. glasswizzard

    Question How do I bind in this manner? Multi-binding?

    I tried to do that but I didn't get anywhere with it :/ I still am incapable of doing this so, any help would be nice, thanks. Take your time though, there's no rush. I dread to think what wouldn't be straightfoward to you. But yes, it's the binding route I want. The textblock will mirror...
  6. glasswizzard

    Question Dynamically Creating Textblocks and Grids

    I do try to do that, I think I have been? Sometimes it can seem like I've left a thread hanging but that's only because I plan on coming back to it at some point. Sometimes I get an answer I can't do much with but I know that I'll be able to grasp it much better if I come back to it after...
  7. glasswizzard

    Question Dynamically Creating Textblocks and Grids

    I don't know if it resolved the problem, I have to solve the other problem first before I can tell. I didn't realize I could mark threads as solved, I'll go through my posts and do that to all that are resolved, I haven't done that even once yet. Could you tell me how to do it?
  8. glasswizzard

    Question How do I bind in this manner? Multi-binding?

    Here is an image to help clarify my question. Three TextBoxes and a TextBlock. I want the TextBlock to be bound to one TextBox and mirror it's contents, but, if I mouse over another TextBox the binding will change so the TextBlock mirrors the Text of that TextBox instead. Mousing over a...
  9. glasswizzard

    Question Dynamically Creating Textblocks and Grids

    At first I didn't understand what you meant, but for some reason after seeing that "Hello, World!" image again I had a moment of inspiration and am quite certain I solved the problem. Unfortunately I ran into another problem before I could confirm it, but that's a question for another post...
  10. glasswizzard

    Question Dynamically Creating Textblocks and Grids

    Forget my last question, what about this. How do I add one extra "element" (I don't know the correct terminology). If you look at the image above, how do I add one extra "square" on the end that will take up both "rows". Its content will be a simple binding, I don't need any help with that...
  11. glasswizzard

    Question Dynamically Creating Textblocks and Grids

    OK, I modified them like so: get => _banner.Text; set { _banner.Text = value; NotifyPropertyChanged(); NotifyPropertyChanged("Chars"); UpdateNextChars(); NotifyPropertyChanged("NextChars"); } for (int i = 0; i < Chars.Count; i++) { NextChars.Add(Chars[i]); } Visually...
  12. glasswizzard

    Question Dynamically Creating Textblocks and Grids

    My idea hasn't worked. Here is how the code looks: <Window x:Class="BannerApp.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"...
  13. glasswizzard

    Question Dynamically Creating Textblocks and Grids

    Oh, I didn't think of putting a second label in the border, I feel a bit stupid for that. I'm gonna play around with this and see if I can make it happen.
  14. glasswizzard

    Question Dynamically Creating Textblocks and Grids

    OK great. I'm trying to modify/play around with your example. What I want to do is make another banner right below the first one, the same in every way except it will show the next letter of the alphabet, so if I type A I'll see two "boxes", one on top of the other, A on top and B on the...
  15. glasswizzard

    Question Dynamically Creating Textblocks and Grids

    I have another question about this line: TextBlock Text="{Binding}" If the banner class contained more then just one property would you need to explicity bind to that property instead of just using the binding keyword alone?
  16. glasswizzard

    Question ComboBox's MaxDropDownHeight Property Isn't Working

    I just realized why I couldn't see .net core. I'm very stupid yes, but I've been making .net framework wpf apps without realizing it. From now on, I'll choose .net core instead. Such a simple thing but I didn't know it.
  17. glasswizzard

    Question How do I upgrade to C# 8?

    It's definitely me that was missing something, I've been starting new WPF projects using .NET Framework, not .Net Core. Problem solved :)
  18. glasswizzard

    Question ComboBox's MaxDropDownHeight Property Isn't Working

    I don't know how to use .net core 3, my target frameworks are all versions of .net framework, not .net core. I can no longer show any implementation, it doesn't exist. When this thread didn't get any replies for a while I figured no one could/would answer and so I removed the combobox. This...
  19. glasswizzard

    Question How do I upgrade to C# 8?

    A console app does indeed default to .NET Core 3.1. Aren't WPF apps supposed to do that too? If not does that mean that WPF apps can't use C# 8 yet?
  20. glasswizzard

    Question Why did this for loop run forever?

    But why doesn't that happen for the original code that uses a long variable instead of a short?
Back
Top Bottom