I can't believe I'm back to this after working with WPF for 3 months :)
Consider very common setup:
How do I configure the rowheights so that the top and bottom rows (menu bar and status bar) size to fit the height of their content, and the middle row (main content), fills the remaining available space in the program?
I can't fix the ...
I've got a list of things that I want the user to easily edit the order of. Right now I'm binding them to a ListBox with a custom ItemTemplate. Within that template I have an UP & DOWN button. My goal was to move the item up/down based on the button clicked.
However I'm having trouble associating the button's click event with the actual...
I don't know a great deal about the .msi thing with .NET but can I add a custom window to the process that saves the results of the WPF window or winform to the install folder as a .xml file etc.?
...
I'm in the process of migrating portions of an application from Windows Forms to WPF. The current portion I'm working on involves printing a graph that represents a portion of time on a timeline. We previously used the Windows Forms PrintDialog which offered the ability to print the "Current Page" and have custom checkboxes for applica...
Hello I have this code:
public class VisualCue : FrameworkElement
{
public List<Indicator> Indicators { get; set; }
public VisualCue()
{
this.Indicators = new List<Indicator>();
}
protected override int VisualChildrenCount
{
get
{
return this.Indicators.Count;
}
}
protected override Visual GetVisualCh...
I create DataGrid Columns with Binding (where i is a Int value):
dataGrid.Columns.Add(new DataGridTextColumn
{
Header = i.ToString(),
Binding = CreateBinding(i),
});
private Binding CreateBinding(int num)
{
Binding bind = new Binding(string.Format("[{0}]", num));
bind.Converter = new CellValueConverter();
retu...
There are plenty of such examples shown for Silverlight at recent Microsoft conferences ( Creating amazing LOB applications in SL 2,3,4 ... ) .
They even invented DataForms starting from Silverlight varsion 3.
Basically I need an example of grid view ( maybe with possibility to filter, preferably DataGrid control ) from which we may ...
Hey Everyone,
So I'm trying to use a WPF User Control to generate a ton of images from a dataset where each item in the dataset would produce an image...
I'm hoping I can set it up in such a way that I can use WPF databinding, and for each item in the dataset, create an instance of my user control, set the dependency property that corr...
I wrote little WPF application with 2 threads - main thread is GUI thread and another thread is worker.
App has one WPF form with some controls. There is a button, allowing to select directory.
After selecting directory, application scans for .jpg files in that directory and checks if their thumbnails are in hashtable. if they are, it do...
I have a particular unknown-depth model hierarchy which I want to present in a UI panel in a simplified form (no user interaction, no expand/collapse, just display parents and indent subtrees of children).
I have the following working fine as a TreeView, but it's heavier than what I want. Similar to how you can replace ListBox with Ite...
Hi, I have read other related question but i cant really get them to relate to this so I thought it were best to ask, Im pretty new to WPF and so on so please bear with me.
I am using this http://www.codeproject.com/KB/WPF/wpf_notifyicon.aspx api to work with custom WPF Windows (in particular FancyBalloon).
However, i'm coming across ...
How could I make WPF textbox control exceed the maximum size limit? Don't tell me to use richeditbox or AvalonEdit control, since the richeditbox would be performance issues while has large amount of content inside. Thanks
...
I have a button with a backgroun image of color white. My button is sitting on the toolbar which has a bacground color of Blue. When the button is sitting on the toolbar, the button looks white, however I want it to look like blue as the the background color of toolbar is Blue.
How should I achieve this in WPF.. Please let me know.
...
I have a scene in my WPF project with about 2000 different user controls:
<local:MyControlType x:name="aaka4sn9f" />
<local:MyControlType x:name="aaks22nf_1" />
<local:MyControlType x:name="aa66s2f_2" />
and so on down the screen...
Is there a way to rename all of these controls using Visual Studio (and possibly a regex) to be:
<loc...
Hi, I'm inserting a custom winform control in a WPF/ XAML window, however i'm realising that the sizing seems to be very different, what i designed in winform to be 730pixels wide for instance, when placed via a WindowsFormsHost, in a container 730pixels (or at least i think they're pixels..) wide, the control looks much larger and doesn...
Why does my application have the Windows 2000 style? I have the normal Windows XP - Style but the buttons and all the other controlls look like in Windows 2000.
...
Hi
What's a cool taskbar/system tray notifier approach? To get that latest cool looking sliding windows type notifications can I stay WinForms, or do I need to go WFP? Which control/class/framework should I look at?
Basically after a more fresher:modern looking UI than the old winforms popular bubbles etc
...
I have create a Button style under Resource folder of the main application. I have added the reference of this button syle in the App.xml of the main application.
Now this style is applicable to all the buttons in the main application or any other assembly.
I want if I want to override my custom style of button to the normal button sty...
Hi
I would like to animate a ScatterView Control using Expression Blend
However, it seems that Blend doesn't recognise this control and nothing is visible on the design surface despite it being in the xaml
Is there an addon or something that you need to get Blend to recognise controls that are specific to MS Surface?
Have been googli...
Hi
I wonder what is the problem when i databind to an IList..
For some reason i can't bind to an Observablecollection and when i databing my grid (a Devexpress grid) to my IList i have many refresh issues.
<c:GridControlEx x:Name="grdCT"
DataSource="{Binding CDTransf}">
Where ...