I noticed that WPF application startup is sometimes pretty slow. Does anybody know if the the cause is the elements initialization or DLLs loading or something else?
I use ToolBar for my WPF application. As I understand, there is no easy way to make it floating. I just want to remove element which I don't want to be displayed: several dots in the left side of ToolBar. Is there any Properties to customize view of ToolBar? Or, maybe, it's possible to redefine a ToolBar Template?
First of all i must say i am new to wpf and mvvm.
I want to develop a client-server application(clients send info to the server and the serer notifies one or more of them..consider something like yahoo messenger(some user changes his status..sends info to the server and the sever notifies his friends and changes to their UI are made)
My question is: does mvvm suits well with this kind of application?
How can I insert text into a WPF textbox at caret position? What am I missing? In Win32 you could use CEdit::ReplaceSel().
It should work as if the Paste() command was invoked. But I want to avoid using the clipboard.
Hello,
I want to create a simple button template with an image and text inside it. But i want to keep the System button's look and feel.
Can anyone tell me step by step how to create it?
P.S. : I have already tried it with CustomControl in wpf and BasedOn property.
Hello,
I'm looking for a decent WPF or Winform time range selector, much like a home central heating system, where a time range is selectable.
http://lhill.com.au/l%20hill%20web%20page%20pictures/time%20clock%202.jpg
Is there any GUI libraries or examples available to fulfill this need?
I have a wpf tab control which is highly customized through styles. I have referenced those styles in a resourcedictionary "TabControlResources". How do I reference "TabControlResources" in another resourcedictionary?. I have a resourcedictionary called "MainViewResources" and I would like to reference the tab style from my "TabControlResources" in that resourcedictionary.
Thanks in advance.
Hi,
I would like to make a rotating form WPF effect like the one in the norton antivirus 2010.
The rotating form can be seen at 8' 07" in this video: http://www.youtube.com/watch?v=A3hHPdgi9Nk&feature=related (I'm sad but this was the only video I found on YouTube)
Thanks.
Is there any way I can force WPF rendering tiers mentioned here?
http://msdn.microsoft.com/en-us/library/ms742196.aspx
For example I am on tier 2, but I want to simulate the application in tier 1 or 0 scenario.
I am getting this error in my WPF app:
The type 'Microsoft_Windows_Themes:ScrollChrome' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.
Any idea?
Hi I am new to WPF.. Can any one tell what is the difference between standalone applications and XAML browser applications (XBAPs) and how it differs in handling navigation and other stuff..
On the DataGridView in WinForms, I can add empty rows and edit the values of arbitrary cells programmatically like below.
dataGridView1.ColumnCount = 10;
dataGridView1.RowCount = 100;
dataGridView1[1, 1].Value = "a";
Can i do this kind of thing in WPF datagrid ?
Hi,
I want to create a datagrid control in WPF in which there is a button in the first cell of each row. Clicking this button will show RowDetailsTemplate or SubRow. My concern is How do i add a button which will show/Hide the RowDetailsTemplate ?????????
Any help will be greatly appreciated
Thanks
I'm trying to use the MediaElement control in WPF to play back video. It works great in Vista, but when I run it on an XP machine I get tearing in the display. It looks as if it's not using the vertical synch, and just updating the screen mid-draw.
Anyone know how to fix this problem?
Hi
I am trying to determine which row (RowDefinition) my mouse is over within a WPF grid.
I have tried adding the MouseEnter event to the RowDefinition but the event doesn't fire, the Event does fire on the Grid itself but that doesn't help as I need the name of the row the mouse is currently over.
Thanks in advance.
Given a WPF window, which may or may not have animations, I'd like to wait until they are all done before continuing processing. Is there a generic way to do this. Currently I can do something like this:
void WaitForAnimation(Storyboard storyboard)
{
WaitUntil(() => storyboard.GetCurrentState() == ClockState.Stopped);
}
But this assumes I know the storyboards or have some way of finding them. Is there a way of doing that?
Hi,
I am trying to change the default style of a DataGridCell (within a WPF Toolkit DataGrid) when there is a validation error. The default is a red border. How can I put my own template?
Thanks.
Is there some attribute in WPF that I can add to element, so when I click it the target control get focus? The closest thing I have found is 'Target', but it works only with access keys and clicking it has no effect.
Have to use free WPF DataGrid (I thought Infragistics libraries are bad, I take it back after this) for this project of mine.
Looks like DataGrid doesnt have clean MVVM Friendly way of getting the list of selectedRows ?
I can data bind to SelectedItem="{Binding SelectedSourceFile}" but this only shows the 1st selected row. Need to be able to get all selected rows.
Any hints to do it cleanly via MVVM ?
I have an application that contains Menu and sub menus. I have attached Appliocation Commands to some of the sub menu items such as Cut, Copy and Paste. I also have some other menu items that do not have application commands. How could I add a custom command binding to those sub menu items? I have gone through this artcile but unable to attach event to my sub menu items.
I am developing WPF Touch Screen Keyboard.
I need to know how is it possible to make main window non focusable, so other windows will be receiving the input when I click on virtual keyboard buttons.
Simple applying "Focusable="False"" to the main window and all child controls doesn't work.
Hey
I have a data layer which is returning lists of classes containing data. I want to display this data in my form in WPF. The data is just properties on the class such as Class.ID, Class.Name, Class.Description (for the sake of example)
How can i create a custom control or template an existing control so that it can be given one of these classes and display its data in a data-bound fashion.
Thanks :)
how to make SUBMENU ites visible vertical as a left navigation in CODEGURU.COM
In windows we use layoutstyle property to make all main and child items to be viewed vertical and DOCK the menustrip to left.
How to acheive this in WPF
I use checkbox in WPF window. I use some logic in unchecked event of checkbox. And I want to cancel uncheck if need it in the body of this event. How can I do this?