I've followed example from various place regarding setting OutputMerger's BlendState to enable alpha/transparent texture on mesh. The setup is as follows:
var transParentOp = new BlendStateDescription {
SourceBlend = BlendOption.SourceAlpha,
DestinationBlend = BlendOption.InverseDestinationAlpha,
…
Thanks to all of you, last week we flew past 1,000,000 views of Silverlight TV! Were not stopping here, we have a ton in store for the second half of the year. But first, a quick thank you to all of you for tuning in and for all of our great guests who have brought their A-game to the show and helped make Silverlight TV the * most popular…
I'd like to be able to generate a compiled expression to set a property, given the lambda expression that provides the "get" method for a property.
Here's what I'm looking for:
public Action<int> CreateSetter<T>(Expression<Func<T, int>> getter)
{
// returns a compiled action using the details of the getter…
Access is telling me that my new expression is to complex. It used to work when we had 10 service levels, but now we have 19! Great!
My expression is checking the COST of our services in the [PriceCharged] field and then assigning the appropriate HOURS [Servicelevel] when I perform a calculation to work out how much REVENUE each…
Hi,
I am attempting to create a dynamic where clause using the standard expression API.
var query = (
from p in Parties
orderby p.PartyId
orderby p.FullName
select p
).AsQueryable();
Expression<Func<Party, bool>> @fn = (p) =>…
So say for example I created a few small squares in expressionblend.
I then group them together by selecting them, right clicking and selecting "Group Into - Grid"
So now that they are in the grid, I'd like to be able to resize this grid and then they would resize but it doesn't happen, it just…
In ExpressionBlend 4, I want to change the Foreground of a custom button on different states. I'm just able to change the Background and BorderBrush.
Just like this:
If the state is "Normal", the color of text "Button" is Black, while the state is "Pressed", the color of text "Button" is…
I doubt that many people are using the Oracle features "Rules Manager" and "Expression Filter" as usually people handle these things (such as ensuring that a zip code or a car number plate has a certain format) within the application code and not inside the database. Oracle Beehive for…
Hello,
I have a test project with the file MainWindow.xaml with the content:
<Window x:Class="MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
…
post by David Allan
ODI is
renowned for its declarative designer and minimal expression based paradigm. The new ODI 12c release has extended this even further to provide an
extended declarative mapping designer. The ODI 12c mapper is a…
This is a pretty sweet little tool. Rex (Regular Expression Exploration) is a tool that allows you to give it a regular expression and it returns matching strings. The example below creates10 strings that start and end with a number and…
Microsoft met à jour sa suite d'outils Expression, avec une nouvelle version optimisée pour le référencement en ligne
Microsoft vient de rendre disponible une mise à jour de son pack d'outils Expression, utilisé dans la création de…
I have visual Studio 2008.
I have noticed that I cam make WPF applications with Visual Studio. Does this mean that it can do the work that Expression Studio does?
I am going to install Visual Studio 2010. Does this do away with…
I am running a query using Linq2SQL that comes down to following query:
DateTime? expiration = GetExpirationDate();
IQueryable<Persons> persons = GetPersons();
IQueryable<Items> subquery = from i in db.Items
…
In previous posts, I showed you how to create a report using Visual Studio 2010 and how to add a hyperlink to the report. In this post, I show you how to add an expression based image to each row of the report. This…
Published today on CodePlex is the SSIS Expression Editor & Tester project. If you want to try it just pop over to CodePlex and download it. About five years ago I developed my own expression editor control. It first got…
This is Oliver Hanappi's static reflection code he posted on stackoverflow
private static string GetMemberName(Expression expression)
{
switch (expression.NodeType)
{
case…
I found this brief demo:
http://msdn.microsoft.com/en-us/library/bb546136.aspx
Which discusses modifying an expression. However the code starts with a Expression<Func<string, bool>> and ends…
I'm working with an expression within a moq-ed "Get Service" and ran into a rather annoying issue. In order to get this test to run correctly and the get service to return what it should, there's a…