How to apply multiple effect on same element
How can i set mulitple effect like(shadow and blur) on same element. ...
How can i set mulitple effect like(shadow and blur) on same element. ...
I currently have a Win32 application (developed in C++ Builder/VCL) which I am redesigning from the ground up for WPF 4. One of the core functions in the app is drawing engineering/scientific plots. I love the control I'm using now (iocomp Plot Pack - excellent product with phone support!), but they don't have a WPF version and don't s...
I have a list view that is displaying data using the gridview. This list is displaying data typical of grid views. Lots of data displayed in rows and columns. However, on some rows I do not have any data to display, in the columns. I would like to swap out the item template for that row and display another template for the entire ro...
I have string which i have to display in TextBlock, my TextBlock have some fixed size, i need display the text in such manner if string cannot fit in TextBlock, then i have to split the string in next TextBlock, how can i do this same. ...
Hello, I'm attempting to have a combo-box display a pre-defined set of values - in this case an enum. For example : public enum Protocol { UDP = 0, TCP, RS232 } However I seem to fail at getting it done. Is this possible at all? I've attempted to use databinding however Blend only found all classes from the namespace, not ...
I am new to WPF and the ScrollViewer is frustrating me. Either I just don't "get" it, or it is a limited control. Here are my Frustrations: Bad Horizontal Scrolling The horizontal scroll bar is only visible at the bottom of the list (I have to scroll to the bottom to see it) Bad Borders I have a ListBox in my ScrollViewer. When I st...
I have to draw formatted text in such a manner that last line should always come with right align. for example. "Some text ............................................................" Right align. I can set font size etc in formatted can i set text like it always come in next...
Hello. I'm hoping to create a control that I call an "AutoCompleteListBox". If you've ever used hotmail to send an e-mail the way the to: address line works is what I wish to create. You have what looks like an input box and as you type you get a dropdown of matching objects. Once you select an object (contact) it is added into the input...
I wanna set a TabControl that its header are in the left side instead of on top, how do I do that? ...
How to design a scrollbar/Slider like MSCUI Patient Journey Demonstrator - Patients charts page and Most Recent Activities (not the normal scrollbar)? I require the scrollbar/ slider which shows the Year data on the left and Bottom side of the above options. I don't know exactly what type of controls that is and pls help me. Any kind of ...
It is possible to make RichTextBox have corner radius in wpf. i know it can achive using ControlTemplate but how? I hope some of you may provide me with a hint. ...
Maybe the obvious answer is that I need to use a UserControl but I'd like to know if this is possible. I want to customize a ComboBox to display an additional button. I've been able to create a template that renders the button next to the built-in drop down button. Now, how can I wire the Click event or access any of its properties (for...
Hello, I have an control in WPF which has an unique Uid. How can I retrive the object by its Uid? Thanks in advance Jose ...
I have a button in a ListBoxItem. I want the button to stay enabled even if the list box Item is disabled. Is this possible? Here is my style code for the listbox, listbox item and the button (called btnPick). <Window.Resources> <Style x:Key="CheckBoxListStyle" TargetType="ListBox"> <Style.Resources> <Style TargetType="ListBoxI...
Is there a way to set your column (or row) to a named value rather than a number? I am about to go add a column to my grid. That means I have to go to every control after the new column and bump up its column number. This is tedious and error prone. Is there a way that I can bind to a named column? Maybe via resources? (As I write ...
Is it possible to interact with the source code of a local or remote page in real time through the use of the WPF browser control. A simple example of what I mean would be where the user can click a button that will bold the selected text. Sort of like a WYSIWYG HTML editor but using the browser control. Is there a way to interact with...
Should I expect any problems with WebBrowser control, if WPF will be deployed as XBAP in a browser or it should work straightforwardly ? The reason I am asking this question is that WebBrowser control is added to Silverlight 4 , but works only in out of browser mode. I am primarily interested in HTML given to WebBrowser as a string ( ge...
I have an animation that I have setup on a transparent canvas. I set that canvas to be the content of a button and then run the animation. (See this question for the code.) The problem is that sometimes the animation gets put behind other UI elements of my app (I am using Avalon Dock and it is in front of the DockableContent it is in,...
I have a ToggleButton that is malfunctioning. As I understand it, a ToggleButton should go checked when clicked then unchecked when clicked again. The ToggleButton in this example does not. Clicking it just sets it to checked again. Any Ideas why? <Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="htt...
I have a treeview which is bound to an observablecollection via HierarchicalDataTemplate. I cant seem to find any treeview functionality that provides me notifications that at any level a new treeviewitem was added. I know that i can bubble item addition notification to my model's root and raise property changes which can be handled, bu...