Click here to Skip to main content
15,881,380 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Auto Scrolling to Bottom Pin
SledgeHammer0128-Jul-11 5:08
SledgeHammer0128-Jul-11 5:08 
QuestionMigration from RadScheduler to RadScheduleView Pin
Jeyakumarbics126-Jul-11 19:23
Jeyakumarbics126-Jul-11 19:23 
AnswerRe: Migration from RadScheduler to RadScheduleView Pin
Mycroft Holmes26-Jul-11 23:23
professionalMycroft Holmes26-Jul-11 23:23 
AnswerRe: Migration from RadScheduler to RadScheduleView Pin
Michał Zalewski31-Jul-11 2:39
Michał Zalewski31-Jul-11 2:39 
QuestionAppointmentCreate event in RadScheduleView Pin
Jeyakumarbics126-Jul-11 19:14
Jeyakumarbics126-Jul-11 19:14 
QuestionHow to get the column in runtime? Pin
sadas232341s26-Jul-11 8:27
sadas232341s26-Jul-11 8:27 
AnswerRe: How to get the column in runtime? Pin
Mark Salsbery26-Jul-11 9:08
Mark Salsbery26-Jul-11 9:08 
AnswerRe: How to get the column in runtime? Pin
Ian Shlasko26-Jul-11 10:24
Ian Shlasko26-Jul-11 10:24 
1) You don't need "true =="

2) You don't need a semicolon after the => in your anonymous function

Anyway... You should be using FirstOrDefault() instead of Any(). That'll return the item that satisfied the condition, instead of just letting you know that such an item exists.

For example:

Person p = lstPeople.FirstOrDefault(a => a.Age > 18);
if (p != null)
{
  //...
}

Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels)

QuestionWPF ComboBox Synchronization Problem Pin
AndyCSharp26-Jul-11 1:24
AndyCSharp26-Jul-11 1:24 
AnswerRe: WPF ComboBox Synchronization Problem Pin
Simon Bang Terkildsen26-Jul-11 3:52
Simon Bang Terkildsen26-Jul-11 3:52 
QuestionHow to Update Rows in Silverlight 4 Data grid Using WCF service ? Pin
Sanjay_8724-Jul-11 21:24
Sanjay_8724-Jul-11 21:24 
AnswerRe: How to Update Rows in Silverlight 4 Data grid Using WCF service ? Pin
Abhinav S24-Jul-11 21:41
Abhinav S24-Jul-11 21:41 
Questioncan't edit tabitem Pin
david131324-Jul-11 5:35
david131324-Jul-11 5:35 
AnswerRe: can't edit tabitem Pin
Mark Salsbery24-Jul-11 8:19
Mark Salsbery24-Jul-11 8:19 
GeneralRe: can't edit tabitem Pin
david131324-Jul-11 8:26
david131324-Jul-11 8:26 
GeneralRe: can't edit tabitem Pin
Mark Salsbery24-Jul-11 8:28
Mark Salsbery24-Jul-11 8:28 
QuestionClosable Tabs Pin
jgalak23-Jul-11 8:03
jgalak23-Jul-11 8:03 
AnswerRe: Closable Tabs Pin
SledgeHammer0123-Jul-11 11:42
SledgeHammer0123-Jul-11 11:42 
GeneralRe: Closable Tabs Pin
jgalak23-Jul-11 14:48
jgalak23-Jul-11 14:48 
GeneralRe: Closable Tabs Pin
SledgeHammer0123-Jul-11 15:01
SledgeHammer0123-Jul-11 15:01 
GeneralRe: Closable Tabs Pin
Mark Salsbery23-Jul-11 15:36
Mark Salsbery23-Jul-11 15:36 
GeneralRe: Closable Tabs Pin
jgalak24-Jul-11 9:21
jgalak24-Jul-11 9:21 
GeneralRe: Closable Tabs Pin
Mark Salsbery24-Jul-11 9:26
Mark Salsbery24-Jul-11 9:26 
GeneralRe: Closable Tabs Pin
jgalak24-Jul-11 9:36
jgalak24-Jul-11 9:36 
GeneralRe: Closable Tabs Pin
Mark Salsbery24-Jul-11 9:41
Mark Salsbery24-Jul-11 9:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.