Recent update: 2008-3-21
I have readed about the Visual Studio 2005 RTM is planned to be released today on msdn, is planned to be released also a recompiled version of WinFX runtimes and SDK for RTM soon? Sebastian
Anyone know if or when this dll will be available for the x64 platform? Thanks, Andrew
How can I go about creating vector images for use in WPF. I've heard of different XAML export capabilities, but this simply translates the image into XAML markup, which is not a vector image format. Will there be an image format which will be used for vector images in WPF?The reason I ask is ...
The Avalon documentation is kind of sparse on this topic. There is a section called "Dependency Property Callbacks and Value Method Override" but it is blank! I need to know exactly what happens when you get/set a DP or when other things happen to it like animation and such. I need to know how ...
I'm trying to trigger an animation based on a change of a value of a window's property. Basically what I have is a class 'VisibleItem', which implements INotifyPropertyChanged and is exposed by my Window1 as a property also named VisibleItem. Like this: public partial class Window1 : Window ...
134 byte By
leed at 2008-2-28
I managed to create groups. I wanted to get list of items in a particular group and bind them to a control. how do I do that Thanks
I spent all day trying to get a very simple CustomControl working. All I wanted it to do was to display a Button. To do so, I followed the Case Study by Kevin Moore ( ...
Bindings added programmatically to objects do not appear to be serialized using the xaml parser. Is there any mechanism to do this? Thanks Ron @ Mobiform
660 byte By
beam at 2008-2-25
hi:I have a few qeutions to ask :a)Our company's software(win32 based application) would spport xps file format, viewing and wirting the xps file. Could the XPSViewer be embeded in own software to view the xps file?if can do, how to do? If can't, how to support to view the xps format ...
I want to try to develop a small application using WPF. Here's what I invision my inerface looking like:At the top a set of large buttons that represent the different areas of the program. Clicking each one will load the respective page.Now, I figured what I could do was to use a ...
If in my window xaml I have something like: ... <Image Source=" http://www.slowserver/image.jpg" Width="20" Height="20" /> The window will be loaded and suddendly the application will freeze while the image is downloaded. After the image is displayed the application becomes responsive once ...
http://www.valil.com/winfx/ads.html A small example of a WBA running in an IFrame - Amazon product links implemented in Avalon. See my blog: http://spaces.msn.com/members/viliescu/ Thank you, Valentin Iliescu ...
I'm trying to use an XML data source and a data template to generate some TextBlock elements from this data and present them using an ItemsControl. The TextBlocks are generated correctly, but I can't figure out how to position them on a Grid or Canvas panel. It seems the attached properties ...
I have a hyperlink in a WBA which is hosted in an IFrame. The hyperlink is pointing to an HTML page. When I click on it, an error is raised right before the WBA exists and the browser is redirected to the HTML page. The error is here: http://www.valil.com/AmazonBookInfo/error.jpg I have created ...
I have a Button and a button style in a xaml file<Style x:Key="GelButton" TargetType="{x:Type Button}">From C# I set the style on the button to be the GelButton style. This works well, the button is now a gel button.When I serialize using the Parser the style property on the button does ...
Is there an equivalent SuspendLayout in WinFX like Winforms? I haven't run accross anything.... Thanks Ron @ Mobiform Aurora XAML Designer <a target="_blank" title=" http://www.mobiform.com" href=" http://www.mobiform.com/">www.mobiform.com</a>
Hi,I have manage to DataBind the contents of ComboBox. The following code fills the comboBox with a list of Bed numbers:<Page.Resources><DataTemplate x:Key="BedNo" ><ComboBoxItem Content="{Binding Path=BedNo}"/></< FONT>DataTemplate></</Page.Resources><Com...
Like you can see here (firewall liberated, please) we can have HTML, ASPX(thin client) and XAML(fat client) in the same web page (framed). http://www.dmu.com/avalonex/aspxaml.htmlWoud be good to have an easy explanation (tutorial) about how they can "talk" to eachother. ...
I would like to do this in order to e.g. bind Width to Height so the element stays square. The element is in a horizontal StackPanel so the Height is intrinsic. Neither of these worked:: <Button Width="{Binding Path=Height, Mode=OneWay}" /> <Button Name="myButton" Width="{Binding ...
Hi,I have manage to DataBind the contents of ComboBox. The following code fills the comboBox with a list of Bed numbers:<Page.Resources><DataTemplate x:Key="BedNo" ><ComboBoxItem Content="{Binding Path=BedNo}"/></< FONT>DataTemplate></</Page.Resources><Com...
Hi all, question... does anyone know if it is possible to save the visual state of a canvas (or some other such visual object) as an image? (then save to harddrive). I'm basically creating a very simple photoshop-like program (with Canvas as the place where a composition of images and shapes ...
I'm trying to bind a transform DP to another transform's DP. Isn't that workin? <Canvas> <Rectangle Fill="#FF8800" Name="r1" Width="80" Height="{Binding Path=Width,ElementName=r1}"> <Rectangle.RenderTransform> <TranslateTransform Y="10"/> ...
Hi! I need to hook up to the IsCheckedChange-event, but it is not there? Is there another similar event I can hook up to? I am running Avalon CTP September. Henning Skoglund
Anyone know what has replaced this in the September CTP?
Our tutorials serie at: http://www.dmu.com/avalon3Dis about the creation of 3D games using Avalon. But, like there are many 2D games creator's "aficcionados" we wrote 3 lessons/demos about. ...
I'm running september build of WinFX runtime + SDK. VisualStudio is Beta2. Using WinXP+SP2. Steps to reproduce: 1) Create an Avalon Web Application from project template; 2) Build solution; 3) Go to project settings, "publish" tab; 4) Without changing anything push "Publish Now" button; ...
The following works fine: <Window x:Class="AvalonApplication5.Window1" xmlns=" http://schemas.microsoft.com/winfx/avalon/2005" xmlns:x=" http://schemas.microsoft.com/winfx/xaml/2005" Title="AvalonApplication5" > <Window.Resources> <Style TargetType="{x:Type Button}"> ...
870 byte By
John at 2008-2-14
In my Resource Dictionary:<Style TargetType="{x:Type local:MyControl}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type local:MyControl}"> <Border> <Grid> <ItemsControl> <ItemsControl.ItemTemplate> <DataTemplat...
40 byte By
leed at 2008-2-14
have to write custom adorners? Thanks
Microsoft can plan to release a gui designer for xaml on winfx for Visual Studio 2005?
Hi all, i'm relatively new to C# and WPF altogether. It looks great so far. I'm wondering if anyone can tell me how to assign a Window or Canvas to the second monitor on a multi-monitor PC? I basically want to mirror what is happening on a Canvas on primary monitor, on a canvas on the ...
Everything is slow for some reason. I tried Max, and that ran decently (aside some weirdness I'll explain below), but I try running some of the sample code and other stuff I compile on Visual Studio, and it's unbelievably slow.I tried the samples here on XamlPad... I can click on a button at ...
<font color="#800080">Hi, Is VisualBrush the only way to display a DrawingVisual? Kind Regards, Rana</font>
I'm trying to detetct a change in the position (ie Canvas.Left Canvas.Top) property of a few FW elements. UpdateLayout is usually tripped (not always) and the sender is null in the UpdateLayout event. Is there any other way? Thanks Ron
I want to embed a web browser application in an HTML page by running it in a IFrame. There are 2 issues: 1. How can I get rid of the navigation chrome in the WBA? It looks very bad in the IFrame. 2. If I have a <Hyperlink> in the WBA , how can I navigate the HTML top page to a new page by ...
Hi all,I'm creating an app that draws a lot of single-pixel straight lines. Would a GeometryGroup of LineGeometry be a more efficient choice than a List of Line shapes? Or, is the performance difference negliable to really matter?Two considerations may affect the question. One, all lines may ...
Hi again folks,It used to be you would use RepositionWithContent() -- that method went away with the PDC CTP.So, I'm feeling mighty dumb here (although the sparse documentation on this might be contributing to that feeling...) -- how on earth can I shove a hyperlink within a TextBlock now? ...
9792 byte By
leed at 2008-2-7
I am trying to set the material brush to a visual brushcant seem to figure out,why I dont see anything <Window.Resources> <VisualBrush x:Key="qaz" Viewbox="0,0,100,100" Viewport="0 0 1 1" TileMode="None" ViewportUnits="RelativeToBoundingBox" ViewboxUnits="Absolute" > ...
Hi all,I get a System.NotSupportedException exception thrown when I try to load a FlowDocument into a DocumentViewer using the PDC CTP release (the exception states I need to use a FixedDocument or a FixedDocumentSequence).Is this accurate? Did support really disappear, or am I just oblivious ...
Hello,I am trying to figure out the best way to do this....I have a Listbox which is bound to a dataset. It displays a list of names from the Name field in the Site table I have.I also have text boxes that are bound to various other fields in that table. So basically when you click on a name in the...
I've been playing around with Avalon for quite some time. I love it and am really looking forward to what people can create with it.My only gripe is the fact that the Avalon application resides inside a regular window chrome. Now, I understand why this was done, but does anyone else see a need ...
First, consider two ellipses that are to be drawn in a stack. Hard-coding it (no use of resources or styles), it might be: <StackPanel> <Ellipse Fill="Red" Width="100" Height="50" /> <Ellipse Fill="Blue" Width="200" Height="100" /> </StackPanel> --I DO find examples of ...
I have installed the september CTP of VS 2005 and the WinFx SDK. If I load any Avalon project and run it I get the following exception .."Could not load type 'System.Runtime.CompilerServices.RuntimeCompatibilityAttribute' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, ...
I am kind of having a hard time figuring out how to use the scrollbar. I have created my own Canvas that displays a document. So I have a viewport (wich shows a part of the document), and a document (wich is basically another Canvas). How do I calculate and set the parameters for the scrollbar ...
312 byte By
Osiris at 2008-2-5
So I enabled the automatic spellchecking on a textbox, and POW!, works great right out of the box, only problem, the popup looks like ***, I think they stole the dialogue template from Windows 3.1. Anyway, there must be a way to overwride it, anybody have any insight on the Style key? ...
Hi! I am struggeling to get <Vakt>-items aligned vertically in the combobox and not horizontally (it is based on the BookData-sample code in winfx sdk documentation). What am I missing in the code?Henning<StackPanel xmlns=" http://schemas.microsoft.com/winfx/avalon/2005" ...
Hi,I am creating a Avalon Express Application and I have one button which has the click event and I am writting the code in the respective page.cs file. <TextBlock DockPanel.Dock="Top" Margin="15,10,10,10" > <Button Width="60" Height="30" ...
In my Window's constructor, I create a new instance of a custom Avalon control and add it to my Window's canvas:Window2 w;public Window1() { InitializeComponent(); w = new Window2(); mainCanvas.Children.Add(w);}Now, is it possible for me to change the Top and Left properties of w which ...
1725 byte By
Donec at 2008-2-4
Getting a nasty exception trying to reference a ResourceDictionary within loose XAML, is this feature disabled or just bugged right now? Here's the code that goes caboom.(Obviously the same problem arised from using Merged RD's too) <Viewbox ...
I tried to handle the MouseLeftButtonDown Event of a viewport but the code never reaches the event-handler method: Here the Xaml part: <Viewport3D Name="myViewport" MouseLeftButtonDown="viewport_MouseDown" MouseMove="viewport_MouseMove"></Viewport3D> This is where I attach the ...