Hi!
Is there any way to virtualize tooltip in WPF? I have many dataitems displayed on map. When i'm changing template, for example, it takes a lot of time to generate UI for tooltips that are invisible. Maybe wpf supports something for such cind of virtualization?
Thanks in advance.
...
I've implemented the MVVM pattern and have some viewModels that are bound to tab pages on a tab control.
When a specific object type changes (i.e. from Car myVehical, to Bike myVehical), then i want the relevant tab page to become selected.
Thanks.
...
Some fonts have a large amount of whitespace above and below the characters. Is there a way to correct for that, and tighten up the space between lines of a word-wrapped paragraph in WPF (in either a TextBlock or a FlowDocument)? Kind of like a negative margin between lines?
There's a LineHeight property on Paragraph and TextBlock, but ...
Is there any way to use databinding to show or hide a Paragraph within a FlowDocument? (I want to use MVVM, but with a FlowDocument as my view.)
Paragraph doesn't have a Visibility property. I'm not sure what else to look for.
...
Hello everyone,
I am wondering whether WPF on .Net 3.5 supports touch or multi-touch for laptop? Appreciate if there are some cool Demos to show the effect.
I am using VSTS2008 + C#.
thanks in advance,
George
...
I have some data that I want to present in a FlowDocument. This will basically be a view that explains the data in a friendly way, with section headers, paragraphs of text, etc., and which I will display in a FlowDocumentScrollViewer.
To this end, I would like to create a bulleted list (<List>) out of the contents of an ObservableCollec...
I've seen a few articles on unit testing view models in MVVM and how the tests themselves are consumers of the view models, testing the functionality of the viewModel and model. However, I'm left wondering how I go about testing the views (UI) to ensure they are wired up to my view models properly. I don't want to write a test that, fo...
Hi!
I'm currently developing a small WPF application using a file database (SQLCe).
Since I'm near release of the product and I've had no experience with setup and deployment I would like to hear your thoughts around this subject.
The application is small and the updates that I will make is minor database changes (such as alter tables...
Possible Duplicate:
WPF vs Silverlight.
What are the key differences with the latest versions?
We are looking at the option of using silverlight so that our software can run on a kiosk and also online but isn't there still quite a bit of functionality that WPF has and silverlight doesn't?
Thanks
...
I have a Scrollviewer inside a TabControl, and for some reason when you change tabs my ScrollViewer jumps to HorizontalOffset of 12. My ScrollViewer, among other things has a ListView inside it with an unrestricted height. It's a strange layout, but everything inside the scroller had to be printable so I couldn't easily allow the ListV...
Trying to implement Wpf Listbox dragging, and I need the Wpf equivalent of the SystemInformation.DragSize property.
thanks
...
I have a WPF TextBox, defined like this:
<TextBox Text="{Binding Path=/Comments}"
Margin="351,193.91,10,36"
x:Name="txtComments"
IsReadOnly="True"
VerticalScrollBarVisibility="Auto"
LostFocus="txtComments_LostFocus"
MouseDoubleClick="txtComments_MouseDoubleClick"
AcceptsReturn="True" />
This works ex...
In C# WPF: I want to execute a CMD command, how exactly can I execute a cmd command programmatically?
...
(I'm pretty new to WPF, so this question may seem obvious or inconsistent.)
There is a requirement to edit some piece of application's underlying business data from a child modal window, and to update the data only if the user presses OK button in this window. Let's call this window SettingsDialog.
In this case, is it still reasonable ...
I have an object called Block, and an object called Cell. Basically, block has a collection of cells. As far as UI, a block is a Grid. The Grid's children are cells that are TextBoxes. Now, my question is whether or not it's good or bad practice, or if there are any pros or cons to instancing a TextBox within the Cell object, and instanc...
I'm still getting to grips with WPF: can anyone tell me if we should still use IPersistComponentSettings with WPF and if not, what is the new mechanism?
...
I've been struggling with this code for some time now and can't seem to find any complete answers to my question. I've created a small sample to illustrate the problem:
<ListView >
<ListView.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Margin="0,0,20,0" IsItemsHost="True" />
</ItemsPanelTemplate>
</ListView....
If I have 2 buttons, A and B, is it possible to create a style and trigger such that when the user hovers over button B, it will cause button A's style to change? I've tried using SourceName and TargetName, and am getting compiler errors. Here's the XAML that I'm fooling around with - I'd like to cause button A's content to be bolded w...
The webrowser control has a navigating event that is raised before the browser navigates to a URL, but what I need is a preview event for when the webbrowser requests referenced media/pages/css. For example when a image tag is seen by the control, it will request the image from its URL. I need to proxy this URL to decide if I should dis...
Is there a standardized way to sync a collection of Model objects with a collection of matching ModelView objects in C# and WPF? I'm looking for some kind of class that would keep the following two collections synced up assuming I only have a few apples and I can keep them all in memory.
Another way to say it, I want to make sure if I ...