Hi there,
Is there a way to combine rows within a specific column? Hence to get something like this (I am currently using rowspan on a control i.e. Image but is there a better way?)
--------------------
| |--------|
| |--------|
| |--------|
| |--------|
| |--------|
-...
Hi there,
I have come across a problem with binding to a passwordbox. It seems its a security risk but i am using the MVVM pattern so i wish to bypass this. I found some interesting code here (has anyone used this? or something similar?)
http://www.wpftutorial.net/PasswordBox.html
It technically looks great, but i am unsure how to ret...
Hello,
I want to increase or decrease font size of controls such as window, treeView, ribbon menu etc that are contained by main window.
I have a font size slider create method and I want to acces all of Control and TextBlock by using visualtree helper and increase or decrease their font size according to slider value.
Methods are be...
I need to find an open source WPF Gauge Control that I can use in my Rich Client (not for silverlight). Does anyone have any recommendations on one that is open source?
I need to build a WPF dashboard and the client is requesting using Gauges to display data.
...
Hi,
There doesn't seem to be a .Show() kind of method for the Windows.Control.ToolTip, incl in ToolTipService. Any ideas?
Thanks! For your help. :-)
...
I want to write an IDE in C# for my custom scripting language. Is there any code editor control with the IntelliSense popup, colors, etc for WPF/WinForms? Thanks.
...
In standard WinForms development I would do the following:
foreach (Control in groupBox1.Controls)
{
MessageBox.Show(c.Name);
}
How does a guy do this in WPF? I have a Grid inside the GroupBox and a number of controls in the grid (buttons etc.) but can't seem to figure out how to get each control.
...
Hi,
This should be easy but it's not working. I have a WPF combobox bound to a List.
The items populate just fine
I want the first item to show on startup.
However! If the SelectedIndex is set to 0 or anything else it stays blank.
Wozzup?
Code Result: No item selected when the form loads. :-(
...
Hi again! Here's another easy XAML question for you guys:
I can populate a 'complex' list okay in XAML like:
<local:People x:Key="family">
<local:Person Name="The Babe" Age="45"/>
<local:Person Name="Greggles" Age="41"/>
<local:Person Name="Elmo" Age=10"/>
</local:People>
But in the case of:
public class FileN...
I need to build a blotter using csharp and WPF. Basically, like an excel sheet but would have the capability of customizing backgrounds of each cell or setting the value of each cell. But not sure where to start.
If anybody build blotters in csharp or WPF, a few pointers on where to get started would be great. If you can suggest some go...
Hey everyone,
I've run into a problem trying to implement a Menu and can't figure out what is going on. I'm trying to make a single-layer menu using the Menu control. Here is my menu code:
<Menu DockPanel.Dock="Top" Height="22" Name="menu1" VerticalAlignment="Top" Background="#FF325170">
<MenuItem Header="Featured" Style="{Static...
I'm displaying a very big tree with a lot of items in it. Each of these items shows information to the user through its associated UserControl control, and this information has to be updated every 250 milliseconds, which can be a very expensive task since I'm also using reflection to access to some of their values. My first approach was ...
I have a dependency property and it has a character that could changed at run time..Mostly it would have characters like +,./'; etc.. For example if it has + stored in it.. All i have to do is to check if the pressed key is + key.. The e.Key returns "Add" for + key pressed.. It is the same for other special characters.. Could anyone give...
How would one swap a template by using a Trigger when the items within an ItemsControl overflow its container?
In my current implementation I would like to show a more brief form of template based on whether the current state of the ItemsControl are such that the content would cause a ScrollViwer's scroll bars to appear if the scroll ba...
Similar to this question, except the console program being wrapped up in the WPF application produces coloured output, so it would be nice if I could capture the colour as well as the text.
This is my first WPF program and I'm not sure how to go about finding/modifying the right control, currently I'm just using a TextBox which works bu...
Hi,
I have a fairly short and indeterminate process which needs a quicker-than-standard animation speed. I couldn't find any likely properties, or even anything on the net.
Anyone know?
Thanks!
...
Hello,
I would like to override the behavior of RoutedUICommand "Copy" of a WPF TextBox.
Is it possible without creating a new TextBoxExtended class that inherits from TextBox?
I have reached that point, but now I am bit lost.
Private Sub tbSource_PreviewExecuted(ByVal sender As System.Object, ByVal e As System.Windows.Input.Execu...
Hi All,
I have a wpf combobox which I want to display a selection of strings
string[] list1= new string[]{"first","second"."third",fourth"} and so on
Xaml:
ComboBox Name="cmbItems"
ItemsSource="{Binding Path=list1}"
SelectedValue="{Binding Path=Display}"
where Display is the property in my ViewModel
public string Display...
Hi,
Does anybody know any pointers to knowledgebase for how to write design-time experience (i.e. VisualStudio 2008 design time) for WPF controls please?
There are loads of references for creating the design-time code for Windows Forms controls, but hardly any for WPF ones.
I have googled a lot for this, but with no good results.
Ple...
I need to perform some actions when list box selection is about to changed, but old item is still selected. Something like PreviewSelectionChanged. Does WPF allow such operation? I can not find such event in ListBox control.
...