WPF VB Formatting only last selection in Richtextbox using TextRange or...
0 down vote favorite I'm working in wpf and visual basic. When I select text in RichTextBox i use TextRange: Code: dim selection1 as New TextRange(Richtextbox.selection.start,Richtextbox.selection.end)...
View Article[RESOLVED] clr-namespace error WPF
Hi, I am new to WPF and need help to solve an error with it. I have tried changing the Target Framework and set the target CPU to x86. When trying to build the solution I get the error: The name...
View Articlehow to code the binding for expander background in C#?
so i have created a listview with grouping and i want a image that are binded to that group 's expander how do i do that xaml for the expander Code:...
View ArticleIs my understanding of printing correct?
I apologize in advance for my limited understanding of software programming. If I have a WPF application that just displays files...like a viewer for .jpgs and .pdfs. and .tiffs and .html in a window...
View Article[VB/WPF] How to populate a Datagrid from a Dictionary Of Class
Hi there, I'm creating a simulation game with RPG and Visual Novel elements. One of its primary requirements is that it supports overlapping of alpha transparent PNG images, so I switched to WPF for...
View Articlesecondary thread
What should I do for my wpf grid to receive and handle data although notifications arrive from a secondary thread.
View ArticleA few questions about WPF
1. Is it a good idea to start learning WPF approach in VB.net programming? It is present almost 10 years but I can't say that it is popular between programmers. People continues to work with WinForms...
View ArticleHELP: Rotate Line constant WPF
Hello, I do not fail to rotate that line consistently, ie not jumping out six in 6 degrees tick, I need to rotate fluently, Angle="{Binding SecAngle}" its update to second. This is for Analog Clock....
View ArticleNot able to find ToggleButton in CollectionViewGroup
I'm trying to find a `ToggleButton` associated in my CollectionViewGroup, my xaml structure is the following: Code: <UserControl.Resources> <CollectionViewSource Source="{Binding...
View ArticleButton Corner Radius XAML
Hi All I'm very new to WPF and XAML, I'm building an application in VB.NET winforms and want to modernize the interface. I thought of using XAML, and read that I can add an ElementHost to my form and...
View Articlewpf and windows form
friends; i using windows forms with visual stdio i using drag and drop with windows form to add controls like button text box and so on i find a new way to do that in wpf is column and row...
View ArticleGet Value from DataGrid Cell (WPF)
I am looking for a way to read the value of allways one specific cell (Row:0, Column 2) in a DataGrid. In WinForms it was very easy: Quote: var1 = DataGridView1.Item(2, 0).Value I am searching for...
View ArticleChange datagrid cell color based on the value of the cell?
I've this DataGrid structure: Code: <DataGrid ItemsSource="{Binding MatchService.Matches}" AutoGenerateColumns="False" CanUserAddRows="false" IsReadOnly="True">...
View Article[RESOLVED] Changing background color for Datagrid Rows at run time
Hello. Ok the situation is . I have a Datagrid populated from a Datatable. Every second row has a back ground color (AlternationCount="2") just to make the grid easier to read. Any row that has a 1 in...
View ArticleHow to initialize a fontpicker?
Hi, i have recently made a fontpicker, mostly for practice. I have used an example which uses databinding as a basis to build on. Now the problem i have is this: When i open the fontpicker for the...
View ArticleHow do you make an inline string for quickconverter?
Hi, I'm trying to use a WPF nuget addon called QuickConverter do do some inline logic in an xaml file. Now what i want to do is show one string when a tooltip is disabled, and another when the tooltip...
View ArticleProblem in WCF config for Windows Server
Hello Everyone, This is a really important post and I would be grateful if I someone can help me. A developer had developed a service for me which runs in Windows Server. It communicates with sql...
View Article[RESOLVED] Problem in WCF config for Windows Server
Hello Everyone, This is a really important post and I would be grateful if I someone can help me. A developer had developed a service for me which runs in Windows Server. It communicates with sql...
View ArticleUpdate main page when a Gelocator Position change event fires
Hallo guys, I'm tring to write a simple mapping WPF app that use the Geolocator class to retreive the current position. Code is simple: Imports Windows.Devices.Geolocation 'Geolocation Namespace...
View ArticleMapControl evnet issue
Hi guys. When the map center is moved the event Center Changed event. Unfortunately the event happen when the user move the map and when programmatically I want the map center to move. I need to manage...
View Article