|
You cannot set ClickMode twice - you can probable change it through your code (if that is what you meant).Me, I'm dishonest. And a dishonest man you can always trust to be dishonest. Honestly. It's the honest ones you want to watch out for...
|
|
|
|
|
|
Hi Guys,
I found FindResoouce method in Expression blend and working fine.. But when I use the same in VS2008, not working.
What is the issue?Ahamed Azeem
software Programmer
|
|
|
|
|
I searched for FindResource in my 80,000 line WPF application and came up with 323 hits, all of which work. So it definitely works in VS2008. We obviously need more information from you. What does your code look like and where are you storing the resource in your solution?
|
|
|
|
|
Dear Gents,
I am new to WPF.
I have created small animation using rectangle using Microsoft Expression Blend. But when i run the project that animation is not running and the image is as it is on the screen.
Please let me know where i went wrong?
Regards
AzeemAhamed Azeem
software Programmer
|
|
|
|
|
do u think only gents can answer this? Gomathi R
|
|
|
|
|
Gents is the short form of Gentlemens.. ok Ahamed Azeem
software Programmer
|
|
|
|
|
See According to your definition also only Gents answered. Ahamed Azeem
software Programmer
|
|
|
|
|
It sounds like you haven't added the animation trigger anywhere. Take a look, in Blend, at the storyboard and check to see what the trigger event is."WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Thanks a lot. It is an event trigger and I found the answer. Ahamed Azeem
software Programmer
|
|
|
|
|
Good job "WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Hi,
We are trying to develop Silverlight forum engine (the first prototype already available http://www.getmessageboard.com/Forum/[^] but I'm still not 100% sure is it good idea at all.
Whould you use something like this on your web site? I really need your advice.
Thank you in advance
|
|
|
|
|
This[^] might help you decide.
Remember that this link discusses SL 2.0 where as SL 3.0 is out now.
More new controls and other excellent features are available in SL3.0.Me, I'm dishonest. And a dishonest man you can always trust to be dishonest. Honestly. It's the honest ones you want to watch out for...
|
|
|
|
|
|
My advice is to create the pages in dotnet. because html rendering is difficult (not available i think) in silverlight.u can embed dotnet in silverlight Gomathi R
|
|
|
|
|
Hi,
I'm using Image control.
I need to change the picture on this control on runtime.
The image that need to be loaded on the Image control is some file that i know his full path.
How can i do it ?
Thanks.
|
|
|
|
|
If you don't want to go down the MVVM route, there's no reason you can't name your image control and update the image directly in your load image handler. Here's an example of how to actually load the image (in C#):
public ImageSource LoadImage(string imageSource)
{
src.BeginInit();
src.UriSource = new Uri(imageSource, UriKind.RelativeOrAbsolute);
src.CacheOption = BitmapCacheOption.OnLoad;
src.EndInit();
return src;
} "WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
HI,
I'm working on a card game and am curious how to design my Card class (each of which are held in a CardDeck class which extends List<Card>. The card is not a typical playing card, instead having a title and description as well as a unique Image on the front.
During play, the cards need to be displayed and moved in a some sort of layout panel. I've created the basic Card object with the following properties:
public string Title
public string Description
public Image CardFront
private Image CardBack
I thought of extending the Card as an Image or as a Viewport. But being new to WPF (and .NET Windows application programming) I'm not sure the best way to implement it.
Thanks,
Chris
|
|
|
|
|
I like to show my forms with silverlight option, is it possible? This is the first time I am trying...
My idea is while the datas are readonly, then the form opening time if we show the silverlight option then the user can easily identify that it cannot be change...
So, Any better guidences...
Thanks...
|
|
|
|
|
Amazing how many people try to use a technology without even knowing what its for.
Silverlight is for Web applications not Windows applications. For Windows you need to use WPF.
If your controls are readonly I think that would be a pretty big hint to the user that it can't be edited. I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Dear friends,
i have a clarification ...
I have canvas with few paths like these
<canvas>
<Path name="path1" ..../>
<Path name="path2" ..../>
</canvas>
now i have style for canvas ...in that style is it possible to change the property of the "Path1"???
[Because i have problem like these .. i have few paths in canvas if i move a cursor on any path .. i have to change the property of "Path1" .. so i think working on the canvas will make possible]
Thank you
by
Joe
<div class="modified">modified on Friday, February 26, 2010 6:10 AM</div>
|
|
|
|
|
It would help if you actually showed the paths."WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Dear friend
Thanks for reply ..
sorry i did not notice that the code it not visible .... i have edited now ...
By
Joe
|
|
|
|
|
Hi,
I want to provide automatic file download when the user clicks on a (hyperlink)button. Can someone shed a light on how to specify URI correctly for the file protocol in the following code:
private void FileDownload_Click(object sender, RoutedEventArgs e)
{
System.Windows.Browser.HtmlPage.Window.Navigate(new Uri("file:///1.zip"), "_blank");
}
It works fine when I use the absolute file path. But how do I specify the relative file path, because I don't know the absolute path on the hosting server?
Thanks,Best,
Jun
|
|
|
|
|
Hi Jun,
If you specify UriKind.Relative in the Uri constructor, it will be relative to the page hosting your Silverlight app.
System.Windows.Browser.HtmlPage.Window.Navigate(
new Uri("SubDirectory/TextFile.txt", UriKind.Relative), "_blank");
Cheers,
Daniel
|
|
|
|
|
Thanks, Daniel. It works.
One side note, though. I couldn't make the complete format work:
System.Windows.Browser.HtmlPage.Window.Navigate(
new Uri("file://SubDirectory/TextFile.txt", UriKind.Relative), "_blank");
It appears that if I use "file://", I must quote the absolute path.Best,
Jun
|
|
|
|
|
Hi,
I have build a silverlight site and uploaded it to my hostint server "DiscountASP.NET". The IP is "www.entribute.com". I can browsw it from my development machine without any problem. However, when I visit it from another Vista PC, I got a "Could not download the Silverlight Application" error. Many posts say it is a MIME type issue on the server, but why can I open it fine from my development machine?
Thanks,Best,
Jun
|
|
|
|