This is a great tool when you want the brush to be the same as an already existing brush. You can either use the editor to specify the color or enter a color code manually in the textbox.Īlso when you’re editing a brush property you can choose to create a gradientbrush or an imagebrush using the buttons positioned above the shaded rectangle.įinally when you’re unsure what color to use, you can pick a color of the screen by selecting the droplet tool in the bottom-right of the shaded rectangle. When you select a property of type Color or Brush you will get the color picker editor. Slapping a new color on the UIĮxpression Blend features a color picker that allows you to pick colors and adjust it’s shade by dragging a selection dot. Also you can specify how you want to handle exceptions and update notifications for the binding. Here you can choose between the various directions of bindings (OneWay,TwoWay, OneWayToSource, OneTime). The last panel lets you configure several options for the binding. The third panel on the binding editor allows you to specify a converter that is used for converting the input provided in the control to the type of the bound property. This helps especially in cases where you know the name of the property, but not exactly the casing or the location of the property. This part of the binding editor allows you to graphically find the property you need. The right-hand side of the panel will display a preview of the data source.Īfter selecting a source you can click the Path panel to choose the property on the source to bind to the selected property in the property editor. Default is the DataContext, but you can also create an elementbinding, a binding with a relative source or bind to a static resource. In the source panel of the binding editor you can choose between different kinds of sources. When you edit a binding the property editor will show a new kind of editor that allows you to configure all aspects of the binding. You can bind data by either selecting the icon to the right of the property name and click the Databinding menuitem or by clicking the databinding button on properties that support only databinding. The property editor now supports the possibility to graphically bind data to specific properties. If you’re using databinding a lot you might like the next new feature. It’s cool even without a proper user interface to edit the bindings. Databinding gets even betterīinding data in Silverlight and WPF already is really powerful, you can do almost anything with it. This will reset the search filter and the property editor will display all available properties on the control. To clear the filter you can select the little cross inside the search box. When you have entered a small portion of the property name, the property editor will filter the properties on the control and display only those that fit the term you entered. It contains a new search box at the top of the editor that allows you to type in a part of the name of the property that you’re looking for. If you take a close look at the property editor you will notice that it has changed shape a bit. You could already search for a property inside Expression Blend, but Visual Studio was lacking this option. Care to search for that property?Ī feature that’s really cool is the possibility to search for a specific property. The result is a greatly improved design interface that not only allows you to see what your interface looks like, but also allows you to edit the components in the user interface by dragging them around.Īlong with the design surface Microsoft has changed the way the property editor works for WPF and Silverlight user interfaces. For WPF you could see the control, but editing it was somewhat spartan so they improved that too in this release of Visual Studio 2010. The graphical design surface for Silverlight was gone for quite a while, but Microsoft fixed a large number of issues that made it impossible to show Silverlight 3 components graphically inside the cider designer. In this article I will show the new features of the designer and show you how you can use those features to make developing for Silverlight and WPF more fun. It allows you to design and edit XAML files that will ultimately represent the user interface of your application. This designer is the core component in Visual Studio that developers will use when working on WPF and Silverlight projects. One of the things that has improved greatly is the Cider designer. NET, Native Windows Development and Silverlight. On Monday Microsoft released Visual Studio 2010, the newest edition of their integrated development for.
0 Comments
Leave a Reply. |