Hello,
I'm facing a problem and can't get any further. I hope you can help me.
Short explanation:
I have a DataGrid (VirtualizingPanel.IsVirtualizing="true") and a search bar. When I type something into the search bar, the list is filtered accordingly and the search text is highlighted using...
I'm creating a program using 1 wpf and multiple windows in that wpf project. Each window gets the message that the InitializeComponent() does not exists in current context but my program runs just fine.
If it really didn't exist my program would get build errors. anyway i can fix this without...
Hello. I am James, a WPF developer from Korea and a Microsoft MVP currently active in the field. As a first-generation WPF developer, I share my expertise through various research activities. A notable open-source project of mine is a 'League of Legends' client created using WPF, which is...
The bottom line is that everything works fine with the text, but the font is not transferred to the buttons and is default font after compilation
app.xaml
<Application.Resources>
<Style x:Key="Hatten">
<Setter Property="TextElement.FontFamily"...
Hi all. I'm going to create a game using WPF. Unfortunately, I'm a newbie and I need some support. The game is similar to 1010! from GramGames, so for now I want to make a field that contains a cells, some kind of grid, and the rectangular figures that can be placed on this field.
I made some...
Hello! In my Application I wanted to design a WPF Rich Textbox that can allow Highlighting of Texts even when it is disabled but with every possible attempts, I was Unable to make it, Can Somebody help?
Hi I am converting my code from unity to Mirosoft.DependencyInjection
and I am facing some errors
what is the alternate for UnityContainerExtension in Mirosoft.DependencyInjection as it is used in unity
alternate for :-
_container.RegisterType<TInterface, TImplementation>(name...
Hi I have all these classes in converter still I am getting this error
It would be really helpful if you can tell me the cause behind this error as I checked everything and it is correct .
Severity Code Description Project File Line Suppression State
Error CS0246 The type or namespace name 'CCspInformations' could not be found (are you missing a using directive or an assembly reference?)
Severity Code Description Project File Line...
I have never used a converter until I tried today and I didn't get it right.
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
StopBits sb = (StopBits)value;
string stops = string.Empty...
I have a context menu in a view that calls the correct handler, but the command parameter is not being passed.
<TextBlock DockPanel.Dock="Left"
Margin="0,3,1,0"
VerticalAlignment="Center">
<TextBlock.ContextMenu>
<ContextMenu>...
Hello everyone, I am developing a project for the management of emergency vehicles, as you can see from the structure visible in the image there is a server and five clients, with many accesses to the server, I have now thought to avoid giving the access to the database to dozens of users to use...
Hello, I am currently creating a recipe book - app. I have set the size of the MainWindow to 2560 x 1440. Now I would like to change the size of the MainWindow to a dynamic resolution in order to run my application on any scrrensize without cutting it off. So it automatically fills out the whole...
I have a fairly simple WPF app which primarily has 2 datagrid's in two different tabitem's.
The datagrid in 1st tabitem has the itemssource PendingBills which is an ICollectionView and it shows some filtered data as per some basic logic
The datagrid in 2nd tabitem has the itemssource AllBills...
Hi everyone, I'm making a window, the first image you see is the visual studio editor, the second the program started, but why the heck it destroys the whole layout .. I can't understand if it's a problem with the size of the objects , many are not even displayed 😭
<Window...
Hi, I'm totally new to MVVM pattern in WPF and even after going through a lot of posts and tutorials on the internet still struggling to fully grasp it. Anyways, here is what I'm trying to do, I have a SQLite database table with multiple columns.
When I run the WPF app I want to fill a datagrid...
I've been researching how I could open and display a PDF in WPF, and once it's open, draw on top of it.
I have 2 panels, 1 that simulates the Treeview of the pdfs that I am opening and the other panel is where it is displayed, something like the one in the image, obviously it does not have...
I wonder whether it is possible to highlight or change the color of the text or place a symbol (for example "!") or something else to attract the user's attention only on some items of the rightmost ListBox in the attached GUI.
The reason is to reduce the user's time devote to double-checking...
I have inserted in the GUI a TextBox. It must hold a number between 0 and 1 that represents a lower threshold for accepting a structure name guessed
by the Dice coefficient. I have set a default but the user can edit the threshold. Therefore I have to check the number entered is between 0 and...
I have to show a list of strings (Trial names) that are fetched from a PostgreSQL database. The number of strings is only known at runtime.
I have implemented that through a ComboBox as follows:
<ComboBox x:Name="TrialDB" Grid.Row="1" Grid.Column="1" MinWidth="100"...
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.