xaml

  1. A

    Resolved "InverseBooleanConverter" has an incompatible type.

    Hi can you please help me with this error Severity Code Description Project File Line Suppression State Error XDG-0001 The resource "InverseBooleanConverter" has an incompatible type. IntermexDirect.ContainerPluginNet6...
  2. S

    Resolved Help make this converter work, please.

    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...
  3. S

    Responding to context menu.

    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>...
  4. K

    OpenSilver 1.1

    Hi Everyone, I am glad to be on this forum with you all, it is always a source of great content and amazing advice. Speaking of which, I wanted to make a quick announcement as I am pretty sure it will be of great interest and value to some of you guys. OpenSilver 1.1 has now been released...
  5. W

    Resolved How do I adjust the window size to the monitor resolution?

    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...
  6. C

    Question Reasoning on the class call (XAML)

    Hello ! I'm not used to programming GUIs and I'm looking for the most correct reasoning to develop my little application. I need to extract data from an HDF5 file and then call a DLL so technically, my application is not complicated but I'm wondering about the following. Knowing that on my...
  7. J

    Filtering data grid causes UI freeze

    Hi, I have a small WPF application which gets some data (~300 rows) from an API and gets displayed in a DataGrid. Up to this point everything works well. Some Header-columns of the DataGrid have nested textboxes, which should serve as search-boxes. I bound their text to a property in my...
  8. MikeI

    Question Obtaining a specific layout in WPF

    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*"...
  9. B

    Removing treeviewitem using MVVM pattern in WPF application

    I'm making a file explorer app using MVVM pattern in C# WPF. Right now I want to implement watcher events that are responsible for adding, removing and renaming items from treeview. I already have adding, and partially renaming (I think that in this case I have to combine deleting and adding)...
  10. M

    How to Scale WPF application according to screen resolution?

    I make a WPF application in .Net Framework 4.7. I developed this application on my Laptop which has full HD resolution (1920*1080). My problem is when I run my application on a low resolution monitor (1366*768), my application don't scale up according to the screen resolution. I tried using Per...
  11. destro

    Question How do I get the values in all columns of a row with button click event in code behind?

    I have an ItemTemplate in my WPF app main window which shows the details of all personnel in SQLite database. Each row has 8 columns and one of them is the delete button. I want to get the values inside all fields of the row whose delete button is clicked on in my code-behind. I have...
  12. destro

    Resolved How can I bind my objects horizontally using itemTemplate?

    I have an observablecollection of class type as follows: public ObservableCollection<selectedLevel> selectedLevels { get; set; } selectedLevels = new ObservableCollection<selectedLevel>(); public class selectedLevel { public string Level { get; set; } public...
  13. destro

    Question How can I bind the property of class Object with a textblock?

    I have two classes in my script and an observable collection of secondary class type. The method in the main class adds several objects of Person class type in an observable collection defined and initialized in primary class as follows: public class PrimaryClass : BaseViewModel {...
  14. destro

    Resolved How to set click event for primary menu items in xaml?

    My Menu is perfectly bound with observable collection in view model and all submenu items fires click event properly using below xaml, but I am unable to set the same click event for first menu items. Is it possible to set same click event on all primary menu items? <Menu Background="Lavender"...
  15. destro

    Resolved change the selected Value of a bound combo box from a window button?

    How do I change the selected Value of a combo box from a window button when combo box is binded with enumList in its own viewmodel? I have two Windows and several user controls in my project, one of the user control Ribbon is placed on MainWindow. The Ribbon is groupBox user control containing...
  16. W

    Resolved ScrollViewer doesn't work with dynamically created content

    Hi, I have a dockPanel inside a scrollviewer. In that dockpanel I create a lot of buttons, and what happens is that the scrollviewer doesnt react at all and new buttons just clip through the app. (And when I resize the app they stay cropped). I can't find any instructions on how to set that up...
  17. H

    Question Start in learn WPF and I have a little problem...

    I have read this book https://www.tutorialspoint.com/wpf/wpf_tutorial.pdf and on page 22,23 this code example do not run.... and Am I missing? UserControl1.xaml using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using...
  18. Neal

    Question WPF vs. Winforms 2018

    One of those questions that are frequent, annual, and indecisive! When considering a new project in 2018 what platform are you choosing for Windows and why? WPF is the current and future platform, some say, yet Winforms continues to grow by 3rd party vendors (I use Developer Express) as if WPF...
  19. J

    How Do I Add Search Feature To My Wp8 App

    Good day i am developing an application that has several pages in it, instead of the user having to go through the stress of navigating to the required page i will like to add a search feature in which when the user type in the required page keyword it will take the user to the page without...
  20. J

    Increase and decrease font size in wp8 app

    Good day I will like to add a feature that will give users ability to increase and decrease the font size of my app The size should be from 1-5 or small, medium and big How can i implement this Reply soon and thank you in advance
Back
Top Bottom