Click here to Skip to main content
15,895,538 members
Everything / Expression

Expression

expression

Great Reads

by Kunal Chowdhury «IN»
Customized Scrolling in Silverlight using Expression Blend
by Dirk Bahle
This article explains how to take advantage from look-less WPF controls through inheritance
by Alexei Shamov
Convert types, parse and evaluate expressions in runtime, in .NET 2.0
by Xavier Junqué i de Fortuny
Polynomials Math Parser and Evaluator in VB.NET

Latest Articles

by Coral Kashri
Fold-expressions in extreme cases
by scastelli
Natural approach to calculate value of an expression
by Federico Alterio
Get rid of all that MVVM boilerplate code just to bind an expression to other properties
by Xavier Junqué i de Fortuny
Polynomials Math Parser and Evaluator in VB.NET

All Articles

Sort by Score

Expression 

13 Nov 2010 by Kunal Chowdhury «IN»
Customized Scrolling in Silverlight using Expression Blend
31 Jul 2017 by Dirk Bahle
This article explains how to take advantage from look-less WPF controls through inheritance
22 Apr 2010 by Alexei Shamov
Convert types, parse and evaluate expressions in runtime, in .NET 2.0
4 May 2022 by Xavier Junqué i de Fortuny
Polynomials Math Parser and Evaluator in VB.NET
30 Jan 2022 by Uladzislau Baryshchyk
An overview of Dynamic Language Runtime DLR in C#
31 May 2012 by rcarlson-cayen, Cayen Systems
This article details how to make a legacy code base more maintainable by utilizing a JSON architecture.
7 Oct 2012 by Briti Sundar
This app will help users to quickly add different type of effects on a picture like sketch, oldphoto, emboss, nightvision, cartoon, oilify, etc.
15 Oct 2012 by Talha Naqvi
Unconventional uses of Sensors!
21 Dec 2022 by scastelli
Natural approach to calculate value of an expression
12 Jul 2020 by F-ES Sitecore
I am going to assume TContext is an Entity Framework DbContext and TEntity is an EF Entity. The "Set" method returns a dataset from that table; context.Set().Where(filter).ToList(); So you are getting a list of TContext items from...
25 Jul 2022 by Federico Alterio
Get rid of all that MVVM boilerplate code just to bind an expression to other properties
5 Jan 2010 by Abhinav S
wrote:Microsoft .NET Framework 3.5You need NET Framework 3.5 with Service Pack 1.
5 Apr 2011 by Sergey Alexandrovich Kryukov
Sorry if I don't understand your idea fully, but did you pay attention for System.Delegate.GetInvocationList? It answers exactly the question "what did callme points to". This is nothing like "reverse lambda" though.Maybe you need to explain your vaguely expressed idea in terms what you want...
14 Jun 2011 by OriginalGriff
And I think you will continue looking: that is not something I would want to do with a regex, particularly since you do not know the length of the sequence to be checked for.Instead - since I assume this is for checking password strength - why not use existing code: Password Advisor[^] has...
2 Aug 2013 by Hitesh K Gupta
I am working on a live streaming project. In that we need to show live scenes on local screens along with broadcasting. But for this, use of encoded stream is not a good choice as encoded stream has delay which can not be use as live feed. So I got an idea to create an archive file during...
14 Aug 2014 by TheCannyCoder
Reductions and Short-Circuiting Operations
4 Jul 2015 by FranzBe
void Main(){ List objItems = getSampleData(); // for linqpad objItems.Dump(); var result = objItems.GroupBy(x => new { x.Project, x.State }) .Select(g => { var a = g.ToList(); return ...
27 Sep 2015 by OriginalGriff
1) No. Use Google - we aren't here to do that for you.2) Don't bother. "Interview questions" are a waste of time, effort, and electrons. Employers don;t use them, and there is no point in memorising them anyway, because unless you understand the material they "cover" you aren't going to be...
18 Jan 2016 by Sascha Lefèvre
I don't know if it can be done with AutoMapper. But this is how you could do it yourself, not including the Repository-call. There's a generic and non-generic version of the mapping-method; I think you should be able to use the generic one.using System;using...
20 May 2016 by George Jonsson
Regular expressions are not the best tool for this, because you will have nested parts of your input text.In this case it with be more robust to use a parser, but that has a bit of a learning threshold. ANTLR4 is a free parser originally for Java, but it has a version for C# as well. See...
7 Feb 2017 by KianTing
MuleSoft provides a good structure of documents for developers to learn about its types of variable and properties, but as we all know reading and understanding the concepts is good, but you never beat the act of actually rolling up your sleeves and practicing it in a lab exercise. Learning from exp
15 Jul 2010 by t_zano
Windows Presentation Foundation (WPF) was going to hopefully usher in a new era of cool applications and user interactions.That's why I'm learning this days about the amazing tool from Microsoft wich named "Expression Blend 4". It makes our work easier than ever to design our WPF and...
15 Jul 2010 by Christian Graus
The basic answer is to read up on how to reskin the controls that come with WPF, a UI like the one you presented is pretty easy to do with WPF. If you work through a decent WPF book, you should be able to do all of this in no time. Given you can afford to buy Blend 4, I'm sure you can afford...
28 Jul 2010 by igorapc
Solved!!! :) :-D :laugh: :) by By Shawn Wildermuth Runtime C# Expression Evaluator[^]
5 Jun 2011 by Manfred Rudolf Bihy
Everything contained in one array ("[]") is simply added up.When a sub array is encountered build its sum and multiply by -1.Do this recursively to obtain the final resultNow start programming!Cheers!
6 Jun 2011 by Wonde Tadesse
This is in addition to Manfred solution.1. Sum up the most outer array values.2. If you find any sub array, multiply recursively by -1 the sum of the most inner sub array and sum up the result to the sum of the next most inner array.E.g Take [ 9, [ 3, 4, [ [ 2 ] ] ] ] 1. The most...
12 Jul 2011 by RenatoCarvalho
I am using the Expression Encoder SDK 4 and when I send the video to display the preview it works. The zip file is only 3k though. My code is shown below:LiveJob job = new LiveJob();job.AddDeviceSource(null,null);job.OutputFormat.VideoProfile.FrameRate =...
26 Jul 2011 by alrosan
in my opinion to learn new technology reading good books is best way to master any technology.. i will suggest you very excellent books I've read :Apress Pro Silverlight 4 in C#Manning Silverlight 4 in ActionSams Silverlight 4 UnleashedApress Pro Expression Blend 4these very useful...
8 Sep 2011 by sravani.v
^[A-Z]{2}([ \-])[0-9]{2}[ ,][A-Z0-9]{1,2}[A-Z]\1[0-9]{4}$
18 Sep 2011 by Prerak Patel
Use try catch to catch SqlException.TryCatch ex As SqlClient.SqlException ' check on ex.Number and display whatever you wantEnd Try
20 Jan 2012 by sarah.cs
ok i got the solution from the following link : http://stackoverflow.com/questions/3410875/expression-blend-4-and-vs-2008-sp1[^]
21 Mar 2012 by OriginalGriff
Try:\d{1,2}D...
30 Mar 2012 by OriginalGriff
A regular expression is probably not a good idea here, as you say the expression evaluation is naturally recursive, which regexes aren't good at.Have you considered look at expression parsing and conversion / evaluation? There are loads of examples out there:...
30 Mar 2012 by Sergey Alexandrovich Kryukov
I have no idea which of your border, alignment and similar attributes create the loss in cross-browser compatibility. I can tell you why: I never use them. Using such attributes is really a bad thing. I don't even know who develop Web sites using them. Probably none of real Web...
12 Apr 2012 by Dhanamanikandan
Hi,You can get the Blend Expression 4 tutorial from below link http://www.microsoft.com/Expression/resources/blendtraining/Day.aspx?day=5[^]There are 6 tutorials available in this link.Thanks
12 Apr 2012 by Nelek
In addition to Dhanamanikandan's linkexpression.microsoft.com[^] (more than 20 videos)blend_wpf[^]Expression-Blend-tutorials/getting-started-with[^]another discussion about the same thema[^]
14 Apr 2012 by Richard MacCutchan
See here[^].
7 May 2012 by Sergey Alexandrovich Kryukov
No. Instead, you should design the window layouts the size-tolerant way.Avoid any manual positioning. Actually, if your window is resizeable, never position a single control manually, and avoid it even if a window is supposed to have a fixed size. The layout should be based on the Grids,...
19 Apr 2015 by Sascha Lefèvre
Right-click the project in the solution-explorer and select "Edit ApplicationApp.vbproj". Alternatively, open the file in any plain-text-editor (like Notepad). It's an XML-file. See if you can identify what's corrupt in there and maybe manually fix it. Maybe (hopefully) you have a backup of your...
28 Oct 2016 by OriginalGriff
Google is your friend: Be nice and visit him often. He can answer questions a lot more quickly than posting them here...A very quick search would have found you loads of examples. c# evaluate expression - Google Search[^] gives you 88,000 examples ...Here's a good example: State of the...
26 Nov 2022 by Sandeep Mewara
Yes, a lambda expression is used to create an anonymous function. As you have already discovered, you specify input parameters (if any) on the left side of the lambda operator and an expression or a statement block on the other side, to create...
5 Jan 2010 by moroshko
Hi,I downloaded "Microsoft Expression Blend 3 SDK" but when I started to install it, I got this message: .Net version 3.5 or newer run-time components must be installed before installing Microsoft Expression Blend 3 SDK. Please try installing again after correcting the issue. However, I see...
16 Jan 2010 by necrokill1985
Hi everyone i hope you can help me!Not sure if this is in the right place? so sorry if it is!i have the following table named StockTableStockName|StockPrice | StockDateDOW 23 01/01/10RSDB 15 01/01/10DOW 22 02/01/10RSDB ...
16 Jan 2010 by Manas Bhardwaj
SELECT max(StockPrice)FROM StockTableWHERE StockName = @StockNamePass the stock name as paramter and this should help you.
16 Jan 2010 by necrokill1985
Thanks for your solution but i worked it outit isSELECT * FROM StockTable WHERE StockPrice=(select max(StockPrice) from StockTableWHERE StockName = @StockName)
10 Feb 2010 by Patrick Goergen
Hi,I was wondering how I use a TriggerAction or TargetedTriggerAction with DefaultTriggers in xaml.I am currently using it as such: but that only triggers...
11 Feb 2010 by karismasa
Hello,I am working on an algorithm and perhaps an implementation in C++/c# for logical expressions. I want this logical expression for example, k = ((((a+b)'c)+((d+e)'f))g. My task is to put this expression in a short DNF / Sum of Products form such as abc'+bdf'+.... To do this I planned to...
11 Feb 2010 by karismasa
Is there any tutorial or example that you can provide for ANTLR?
6 Mar 2010 by sufiyan_ansari1
I really want to get the look of a Chromeless Window for my app... how do i achieve that in Blend 3... examples for what i am trying to achieve are mentioned below...Eg's - Windows Media Center, Blendables Mixer etc.:confused:
24 Mar 2010 by Not Active
It would take about 2 seconds to try it and see the results rather than waste time posting this question here and waiting for a response.
2 May 2010 by Lokesh Zende
Hi friends..This may not be the right place to ask this question but its an emergency.I need a regular expression for only Uppercase Letters with spacesCan anyone help me?RegardsLokesh
18 Jun 2010 by prasanjtih
I would like to stream live video using silver light.I have installed Expression encoder, sp1, Silver light.Now i have stremed a video in encoder how to use that encoder in the silver light application
28 Jul 2010 by igorapc
Hi Guys, I Have the problem below:My string variable :Condition = "(true | true & false (true |true) & false)"This variable is created dinamicaly.Now i need to know if this expression is true or false.The ideal would be put a kind of "ExpressionToBool", but, we all know that's...
14 Aug 2010 by LebneizTech
Please give me the Validation Expression for (Any Intiger/Current Year) or(Any Intiger/2010)Ex: 157/2010Working fine for \d+/2010 but Not for ---\d+/DateTime.Now.Year
18 Aug 2010 by Neil Haughton
I am writing a small tool to give me some code stats. Most of what I need is written, but I still need to identify commented-out lines of code. Identifying comments is not hard, but I specifically want to separate genuine comments from old commented out code.I'm thinking along the lines of...
18 Aug 2010 by OriginalGriff
"Can this be done with a single Regex?"No.To expand a little, in theory it could be done. But in practice the regex would be so complex that it would take more time to develop and debug than it is worth. Think about it:// Console.WriteLineIs that a comment? Or commented out...
13 Oct 2010 by gayathri3088
Hi,I have tried using this link.Circular gauge custom control for Silverlight 3 and WPF[^]But there i cannot find CircularGauge.dll.Can you please tell me where is that file.Thank you.
9 Mar 2011 by naveensiva
hi im developing silverlight application using microsoft expression blend2i dont have idea about that i need to know purpose and use of different controls animationsfor future referencce suggest me which sites are useful
9 Mar 2011 by Ramalinga Koushik
this[^]might help you.
22 Mar 2011 by Yusuf
would this be helpful? http://tinyurl.com/4r4dome[^], it is from your pal, Google.
1 May 2011 by OriginalGriff
Don't repost the same question because you haven't got a reply yet - it is rude and can duplicate work. This can lead to people not answering your question...
14 Jun 2011 by Silju MC
Hi...I'm looking for a regular expression to check a String contains repeated sequence like 1234, abcd, def, etc. to validate password... Thanks in advance.
14 Jun 2011 by Sergey Alexandrovich Kryukov
Repeating sequences do not really compromise password strength. Why do you think its main or even important criterion? Length of the password, using wider range of characters, not using words from dictionary are much more important. Password Advisor will know better :-)—SA
26 Jul 2011 by Abhinav S
Nothing like reading a good book to learn a new language.
27 Jul 2011 by Sergey Alexandrovich Kryukov
This is just another Microsoft tool for Web development — proprietary and commercial. It does support ASP.NET, among other things.Why would not you just read about it by yourself? I don't see any special reason to ask such...
25 Aug 2011 by sasolanki007
Hi Vishal,Its good that you are learning new technology. I would prefer you to go through the followings :Expression Blend Training[^]you will get basic !dea of using Blend with SL-Sagar Solanki
1 Sep 2011 by Member 8205487
I’m new to the expression blend and im very much interested in learning it. I have implement a scenario using expression blend which allows user to click on button 1 then the storyboard 1 will be executed.Afterthat when the user clicks on the button2, storyboard2 will be executed. But in the...
1 Sep 2011 by #realJSOP
Handle the storyboard begin/end events. When you get one end event, start the next storyboard.
8 Sep 2011 by hitech_s
Hi Friends good morningplease help mei want regular expression for this this is my requirementAP10B1234(two alphabets two digits 4 digits)small correction plz dontmindtwo alphabets is mandatory next 1 or 2 digits next 1 0r 2 alphabets next 1 to 4 digits
14 Sep 2011 by Hooolagon
I am attempting to recreate the minimize, maximize/restore and close button.I have successfully created the minimize and close button; however I want the style to change for the maximize restore button IF the application is maximised.I was thinking something along the lines of a...
27 Sep 2011 by shEiD
Hi,I've been googling this for hours and hours and can't find anything that explains it. Seems kinda silly. I have a perfectly tile-able image, which I want to tile on my window background - but I'm not able to. I choose Tile brush , set ImageSource to my image "bakcground.png", select...
27 Sep 2011 by Marc A. Brown
Does any of this[^] help? I googled "wpf background image tile" and got that as the first result. It points in a couple of different directions for getting what you want.
27 Sep 2011 by shEiD
Thank You.I was working in Blend, so I was looking for blend tile this, blend tile that, etc. As I said, I'm not a programmer, just learning as a hobby. So obviously Blend's graphical approach to making GUIs is very appealing, compared to writing xaml. Just goes to show you, I guess. :)For...
15 Oct 2011 by hzawary
Hi everybody,How can create shadow, half-shadow and reflection in GeometryModel3D into other, using expression blend?For example, make shadow and half-shadow of a cone on wall object.Thanks in advance,HZ
15 Oct 2011 by Abhinav S
These articles might help you -Creating Inner Shadow Effects for WPF and Silverlight[^]http://www.silverlightbuzz.com/2009/10/09/using-blurs-and-shadows-in-blend/[^]http://asimsajjad.blogspot.com/2010/09/drop-shadow-effects-for-beginners.html[^][Update] Link for 3D shadows added -...
19 Dec 2011 by Sergey Alexandrovich Kryukov
Please see my comment to the question. I hope you know all that, but just in case: this article provides sufficient explanation on how MVC should work: http://en.wikipedia.org/wiki/Model-view-controller[^].See also http://c2.com/cgi/wiki?ModelViewController[^].From the first attempt of...
26 Dec 2011 by Anuj394
Hello,I want to know whether we can make dynamic websites using Microsoft Expression Blend. It gives really cool features for WPF and Silverlight, but i am afraid about dynamic websites.Plus, i also wanted to know whether we can use the Adobe Creative Suite to make ASP.NET websites, it...
3 Jan 2012 by Kevin Schaefer
What do you mean by dynamic? You might need Visual Studio in order to write more of the code (vb or c#) behind the scenes to provide the "dynamic" part--loading data from a database or something like that. I would also recommend a Content Management System (like Drupal, Wordpress, etc..). I'm...
5 Jan 2012 by Sergey Alexandrovich Kryukov
It does not look like a question. You want to do this and that, so what? Do it. What did you read the article for?Do you have a real question? Think about it, and if you do, consider asking the author of the article you referenced. Load the page WPF Step by Step: Getting Started with WPF and...
17 Jan 2012 by SteveAdey
Try following my series at http://tap-source.com/?p=160[^]. I'm trying to start off with simple MVVM principals and build up over time.
24 Jan 2012 by Schnizit
As you mentioned Microsoft's Blend makes it much easier. A few examples of some interesting interfaces made in WPF and Blend: Jot - WPF Sticky note app[^]TweetSearch - C# Twitter App[^]
24 Jan 2012 by Espen Harlinn
Have a look at:WPF Themes on CodePlex[^]Pick a decent background picture, and use transparency on grids and other layout controls.Best regardsEspen Harlinn
3 Feb 2012 by Nuha IT
Hi,My question is : How can I add/host a control - tools from toolBox - that I made in Silverlight to be used inside the my website(.aspx) in .NETWhere those controls be part of my website, not the the whole page.Regards, Nuha
3 Feb 2012 by thatraja
I never worked in Silverlight but recently I found this Tip/Trick, check itAdd Silverlight to a Web Page Using JavaScript[^]
30 Mar 2012 by milannaughty
Hello friends,I am in trouble for last 2 days. I have to parse string pattern like,([nDeductible]==76)&&( [nLimit] == 5 || [nLimit] == 9 || [nLimit] == 7 ) || ( [nFees] >= 8 && [nFees]
30 Mar 2012 by Clifford Nelson
Might want to look at the following to see if it might help: C# Formula Evaluator using Regular Expressions ( http://www.jarloo.com/c-formula-evaluator[^]). Not exactly what you are trying to do but they did parse something similar using regular expressons.
11 Apr 2012 by Member 8699156
how to fix vs2010 and blend preview for .net4 integration
13 Apr 2012 by Luiey Ichigo
Hi all,Now I'm starting using Ms Expression Blend 4 + Sketchflow. Here the situation. I make a button and add effects to button eg: blur on certain timeline. The problem is how can I apply this effects when I click the button? I already search in Internet but quite hard to understand and...
13 Apr 2012 by Luiey Ichigo
Hi all,What is the difference between Expression Blend Design 4 and Expression Blend 4??
5 May 2012 by Snikoggs
Hello, guys. I am working on a project using WPF. I stumbled upon a problem which would seem simple; there are no scrollbars. I only need to have them added either in the Xaml or anywhere else.. Help? Thanks. :)
5 May 2012 by Uday P.Singh
Try this:enabling-scrollbar-in-wpf[^]hope it helps :)
5 May 2012 by Fennie Lau
Hi, I am a newbie in develop mobile application and I would like to develop a B2B window mobile application using Microsoft Tag. May I know how to snap the generated tag and the product image will be shown? how I save the generated image to the window mobile emulator since there is no photo...
6 May 2012 by Snikoggs
Hello. I am trying to add scrollbars into my WPF application but it doesn't seem to work. Only he two ends of the scrollbars show but the actual bar isn't visible. Does anyone know the solution to this problem pleaseThanks
6 May 2012 by Sandeep Mewara
Only he two ends of the scrollbars show but the actual bar isn't visibleThis might be because there is nothing in it to scroll. By default, ScrollViewer.HorizontalScrollBarVisibility Property [^] & ScrollViewer.VerticalScrollBarVisibility Property[^] are 'Auto' and thus they appear when it...
7 May 2012 by Dhanamanikandan
Hi,find the answer...
7 May 2012 by Snikoggs
When I press the Maximize button on my WPF app, all the controls therein expand and disrupt the positions I already had for them. Should I be setting a property somewhere on each control? Thank you for your help.
29 Jun 2012 by mojtaba pirveisi
HiI have created a button template that contain a grid . inside that grid , There is a rectangle and ContentPresenter . I have already created my desire Effects like mouse over and press . The problem is here that I want to assign an image to this button outside of template , How can I do...
13 Jul 2012 by fracalifa
Hi all,I am planning to work with WPF and with an additional grahicstool like (Exp.Bl.) or Zam3D. But I am not clear in the question how to combine/work the graphicstools witch are exporting XAML and external controls supplied by Telerik or Infragistics. Or is a Zam3D-Designer (Expr.Bl.) be...