Hey guys,
I'm wondering if anyone has been able to Drag some item (let's say an image with an id) in silverlight and drop it in a listbox in WPF.
If you have please help ;)
Thanks,
S
I want to extend a WPF button to store some extra data, in a similar way to the current "Tag" property. Are attached properties the way forward? The data I want to store will be a URL Link string, for example I would like to be able to do something like:
<Button Tag="BBC World News" URLLink="http://www.bbc.co.uk"/>
Can anyone help me to…
Hi all
I am trying to write a Dual List usercontrol in wpf.
I am new to wpf and I am finding it quite difficult.
This is something I have put together in a couple of hours.It's not that good but a start.
I would be extremely grateful if somebody with wpf experience could improve it.
The aim is to simplify the usage as much as possible
I am…
Hi,
I have two wpf datagrids having same number columns. I want to resize the same column in second grid when user resize the columns of first grid.
Thanks,
ant.
I havo to implement a custom control in WPF which contains a line chart. This control should permit to an user to define, with a control template, the number of grids, the font family and the font size of axis labels and other parameters.
I'm wondering if one of you can address me to an example or give me some advice.
Thank you in advance.
I have a WPF ComboBox named cbFileSize. I try to get is selected value like so:
string tmp = cbFileSize.SelectedValue.ToString();
MessageBox.Show(tmp);
But tmp gets set to "System.Windows.Control.ComboBoxItem: 16".
Which function should I use to just get the value "16"?
hai i need to play audio files in WPF
am using the following code
FileTextBox.Text = selectedFileName;
MediaPlayer mp = new MediaPlayer();
mp.Open(new Uri(selectedFileName, UriKind.Relative ));
mp.Play();
its working well, but it doesnt plays the sound. why ???
I'm working on a link control in WPF which fits the text with icon links case in the Windows UX Guide. What I want is to have some text within a hyperlink that appears to the right of some image.
In my case I started off by using a TextBlock that contained a Hyperlink which then contained my image and some text.
<TextBlock>
…
I am using WPF and the DocumentViewer to display a document. However, when I use DocumentViewerBase.Print, it gives the "standard" Windows dialog box asking me to choose a printer with the default already selected. How can I get rid of this? I just want to use a Print method that will automatically start printing with no other prompt in…
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?
What's the best way to asynchronously load an BitmapImage in C# using WPF? It seems like many solution exist, but does a standard pattern or best practice exist?
Thanks!
Hi,
I want to clone a WPF Control (XamDataGrid)
I know these ways:
Clone
Problem: Control is not Cloneable
Serialize & Deserialize in binary format
Problem: Control is not serializable
Serialize as XML
Problem: control contains images and Images are not serializable in xml serialization
Do you have any valid workarounds ?
Hi,
In the constructor of an object i need to create a WPF mediaElement object:
m_videoMedia = new MediaElement();
but the class can also be instantiated from a other thread so i need to use
Dispatcher.Invoke(DispatcherPriority.Normal,
(Action)(() => { m_videoMedia = new MediaElement(); }));
But how can I get the right…
Hi,
I want to access some of the wpf designer services (ModelService/EditingContext) from a visual studio toolbox package. Can somebody help me with that?
Thanks,
Sudarsan Srinivasan
Hi.
I have been searching the internet high and low but can find some examples that can help me, I'm developing an application in wpf, in it I use a datagrid, each cell as a datatemplate with and image, in a mosaic style, on the side of the grid I have some tiles to use on the grid, I'm able to drag the tiles but can't drop then on…
How do I set tab ordering in WPF? I have an ItemsControl with some items expanded and some collapsed and would like to skip the collapsed ones when I'm tabbing.
Any ideas?