Tagged Questions
0
votes
1answer
22 views
creating events for newly created windows form control (in wpf)
I created a notifyicon in a wpf project using this code:
Dim ni = New System.Windows.Forms.NotifyIcon
Private Sub btnsystemtray_MouseUp(ByVal sender As System.Object, ByVal e As ...
1
vote
1answer
16 views
Listview Checkboxes not displaying while applying themes in WPF
Hi I am getting problem with checkboxes not displaying in Listview while applying theme ThemeExpressionDark.xaml.
I have collection in view model. These collection items will be binding with ...
1
vote
2answers
35 views
What is the best way to handle validation in WPF?
i would like to implement the validation mechanism which simulates Errorprovider in winforms.
i tried to use IDataErrorInfo but the problem is it is trying to perform validation on the form load. my ...
0
votes
1answer
51 views
.net 4.5 software dont work except on the pc i created on it
hello i did make a software with .net 4.5 and wpf
and the software work as charm on the PC i developed it on.
But when i try to install it on any other pc with the same windows (7) and with .net ...
-4
votes
1answer
44 views
Unclear about the Error why we are getting the exception [closed]
Message: The parameter value must be greater than zero.
Parameter name: textLength
Stack Trace: at
MS.Internal.TextFormatting.TextMetrics.FullTextLine.GetTextBounds(Int32
...
2
votes
0answers
41 views
Wpf merged resource dictionary no being recognized from app.xaml
I have a WPF .net 4.5 application where I am having trouble merging resource dictionaries.
I have the exact same problem as This SO question and This Question but the accepted solution does not work ...
0
votes
0answers
18 views
Printing to fiscal printer
I have to print at a fiscal printer that reads the xps file and places a signature. However not all fiscal software works fine apart from RAW text mode.
I define in xaml my fixed document and i use ...
0
votes
3answers
34 views
WPF - Highlight one row in ListBox
Im quite new to the WPF, so this may be a simple question.
I have ListBox with with defined style, font and whole rest of the stuff. I want to highlight one row there, but the problem is that all ...
0
votes
0answers
25 views
MVVM Light Test ViewModel with View and create StaticResource Locator
Hy!
I am writing tests what are testing the view. I am using mvvm light toolkit.
I test the viewmodel, I do not want to test the view, but the viewmodel use the views. Because there is a ...
0
votes
0answers
23 views
Mimic FlipView in WPF
I want to mimic the FlipView control of Modern Windows 8 apps in WPF.
I've created the buttons and their style. However, the one thing that I'm having problem is their animations. I've added some ...
0
votes
1answer
42 views
Handling a periodic thread in MVVM
I have a .NET 4.0 _C# 4.0_ application. I am using WPF and the Model-View-ViewModel (MVVM) pattern.
I have my controls and everything is fine. The pattern is correctly applied and works fine thanks to ...
0
votes
0answers
25 views
Can I deploy a class library using ClickOnce deployment?
After a thorough study of Microsoft ClickOnce deployment, I have come to conclusion that an application can be deployed and installed using ClickOnce deployment.
Consider a situation when I have only ...
0
votes
1answer
40 views
Extend Style in wpf
I tried the following way to extend style and add tooltip message if validationresult is true. But it shows error "Property style is set more than once". How can I extend style for this case. Any help ...
0
votes
1answer
19 views
Display loading animation in contentcontrol while bound usercontrol is loading
I have a WPF .NET 4.5 application following the MVVM pattern (MVVM_Light framework).
I have a User-control (Parent) that contains a content control; this content control is bound to a ...
0
votes
1answer
36 views
WPF xaml Style property
I'm new to xaml, how would I go about creating a Background Gradient Brush
for a Canvas background, where the Color Gradient could use the previously defined Brush to get a new Brush, like so:
...