WPF .NET Core 3.0 Settings
The following code from WPF application in .NET 4.8 works just fine, <Window x:Class="Vtsr.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...
View ArticleWPF MVVM Mouse Hover Index
I need WPF MVVM Mouse Hover Index.I Tried below code, Hover True or False is Working, But I Need the Index of the Mouse Hover in the ListView.using System.Windows; using System.Windows.Input; namespace...
View ArticleList TreeViewItem bring forward/bring backward/bring front /bring to back
I try to shift TreeViewItem itemsLike belowtreeViewItem.Items.Add(workDaysTreeViewItem[0]); treeViewItem.Items.Add(workDaysTreeViewItem[1]);...
View ArticleCreating a collection of properties
Hello, I'm looking for advice, I have about fifty properties (brush) binder on rectangles. How can I make a collection of these properties? Thank you for your help Sincerely private Brush _rec1; public...
View ArticleBind WPF Auto Complete TextBox with DataTable C#
Developing application in WPF, i want to Bind Auto Complete Textbox with dataTable. I have table in database, retrive data from Database and stored in DataTable. After that bind that datatable with...
View ArticleWPF - What's goodness for using .NET Core, instead of .NET Framework?
Just wondering if there is any goodness for using .NET Core, instead of .NET Framework for application such as WPF?
View ArticleWhat is the correct method for inverting a...
When using DataVisualization.Charting what is the correct method for inverting a lineseries graph so that 0 is at top. I am able to transform the chart and the line series appear correct but the legend...
View ArticleWPF- String to date conversion issue when changing system format.
I created WPF application.. And entering a date by calendar..... Bind StartDate (string data type) with calendar. It was working fine until system format was -mm/dd/yyyy.But when i changes date format...
View ArticleHow to scale Element without Line Thickness? (help)
I created custom grid as Canvas, where I can draw rectangles which have Border with custom color. The grid can be resizable in X Y independently. Everything is ok until I scale Canvas. I use Transform...
View ArticleAnimated ListBox Item when scrolling in WPF
I need advice. How can I create an animation of items in the ListBox with scrolling, see the picture. I need to achieve the same animation when using WrapPanel. I will be glad for any advice. animated...
View ArticleHow to clear all textBoxes in one function?
Hi all,I have more Grids (for example: 15-20) so I know only this way how to clear/enable all textBoxes ... and other type (chckBox, radioButton, ...)pubic void clearAll(bool b) { // for dataGrid1...
View ArticlePropertyGrid choose items make chang item property
I try to do something on propertyGrid like below imageHere is what I want to do.1.I try select ItemType from A to C Then it will trigger event set Control ItemMode Second_Bx Second_By three unable or...
View ArticleFailed to print a visual to XPS Printer from other thread than the main UI...
Hi,I'm working on the print feature of our product and get an odd problem.Here is it:Xaml (just a simple window with two...
View ArticleWPF PropertyGrid load image path
I try to let PropertyGrid load image path like below imageI want to load image path into Picture let it show like Desktop\01.jpgBelow is my project linkCan help me fix it...
View ArticleGetting height and width from a System.Windows.Media.Visual
Hello. I have a function where I'm passing a Visual and I'm wanting to get the height and width of that Visual. Is it possible to do this?Thanks!
View ArticleChange images within one image box on a timer?
Hi everybody.I am in desperate need of some help. I am self learning programming (crazy, I know). I am working on my first project which is an application for kids with special needs. I am stuck on...
View Article#TFS 2018 #Team Foundation Server #DevOps #Role Access User Role Management...
Dear All,Your quick help will be highly appreciated...I have created a project in TFS 2018, In this project we have multiple folders as every folder is related a to a component (Each component will...
View ArticleTrigger Binding to Child Control Not Working
I have this on a WPF Window<local:TestControl><local:TestHost /></local:MediaPlayer> Classes defined like thispublic class TestControl : ContentControl { static TestControl() {...
View ArticleRotate item on Canvas
I try to rotate image(or ContentControl) on Canvas like below imageI try to use MouseDown event to update Rotate Center like below codeelse if (e.RightButton == MouseButtonState.Pressed) { ////Set...
View ArticleASCII table
Hey, I have a command that I have to make with the ASCII table. The values that I have to give must be unique and certain characters must change. I just don't know how to get started.
View Article