Click here to Skip to main content
15,917,731 members
Home / Discussions / C#
   

C#

 
AnswerRe: Is C# compiler multi-core aware? Pin
Luc Pattyn6-Dec-10 3:37
sitebuilderLuc Pattyn6-Dec-10 3:37 
GeneralRe: Is C# compiler multi-core aware? Pin
Daniel Ruehmer20-Oct-11 23:39
Daniel Ruehmer20-Oct-11 23:39 
GeneralRe: Is C# compiler multi-core aware? Pin
Luc Pattyn21-Oct-11 1:48
sitebuilderLuc Pattyn21-Oct-11 1:48 
AnswerRe: Is C# compiler multi-core aware? Pin
Richard Deeming7-Dec-10 8:41
mveRichard Deeming7-Dec-10 8:41 
Questionemail from windows service Pin
arkiboys6-Dec-10 0:20
arkiboys6-Dec-10 0:20 
AnswerRe: email from windows service Pin
Pete O'Hanlon6-Dec-10 0:27
mvePete O'Hanlon6-Dec-10 0:27 
AnswerRe: email from windows service Pin
PIEBALDconsult6-Dec-10 2:29
mvePIEBALDconsult6-Dec-10 2:29 
QuestionDataBinding - CLR properties vs DependencyProperties Pin
devvvy5-Dec-10 23:07
devvvy5-Dec-10 23:07 
Here's how you bind to Dependency Property "CtrlXOffset" -

<UserControl x:Class="..."
x:Name="MyCtrl"
...
<aaa.SomeControl Name="xamTSChart" HorizontalAlignment="Left" VerticalAlignment="Stretch" VerticalContentAlignment="Stretch">
<aaa.SomeControl.RenderTransform>
<TranslateTransform
X="{Binding Path=CtrlXOffset, ElementName=MyCtrl, Mode=OneWay}"
Y="0" />
</aaa.SomeControl.RenderTransform>
</aaa.SomeControl>
...
</UserControl>

This is cool - I get the result I wanted.

However, can I do this with regular CLR Properties? How'd I rewrite the binding expression?

Thanks

http://en.csharp-online.net/WPF_Concepts%E2%80%94Dependency_Property_Implementation[^]
dev

AnswerRe: DataBinding - CLR properties vs DependencyProperties Pin
Pete O'Hanlon5-Dec-10 23:54
mvePete O'Hanlon5-Dec-10 23:54 
QuestionTFS - Profile dotnet dll Pin
devvvy5-Dec-10 23:04
devvvy5-Dec-10 23:04 
Questionhow to detect display type : CRT or LCD ? [modified] Pin
scoket5-Dec-10 21:59
scoket5-Dec-10 21:59 
AnswerRe: how to detect display type : CRT or LCD ? Pin
OriginalGriff5-Dec-10 22:19
mveOriginalGriff5-Dec-10 22:19 
GeneralRe: how to detect display type : CRT or LCD ? Pin
scoket5-Dec-10 22:39
scoket5-Dec-10 22:39 
GeneralRe: how to detect display type : CRT or LCD ? Pin
fjdiewornncalwe6-Dec-10 1:44
professionalfjdiewornncalwe6-Dec-10 1:44 
AnswerRe: how to detect display type : CRT or LCD ? Pin
Eddy Vluggen5-Dec-10 22:30
professionalEddy Vluggen5-Dec-10 22:30 
GeneralRe: how to detect display type : CRT or LCD ? Pin
scoket5-Dec-10 22:41
scoket5-Dec-10 22:41 
QuestionSend SMS Pin
anishkannan5-Dec-10 20:30
anishkannan5-Dec-10 20:30 
AnswerRe: Send SMS Pin
Luc Pattyn5-Dec-10 21:26
sitebuilderLuc Pattyn5-Dec-10 21:26 
AnswerRe: Send SMS Pin
db7uk6-Dec-10 23:25
db7uk6-Dec-10 23:25 
QuestionEvents in Interfaces Pin
Richard Andrew x645-Dec-10 15:38
professionalRichard Andrew x645-Dec-10 15:38 
AnswerRe: Events in Interfaces Pin
Not Active5-Dec-10 16:30
mentorNot Active5-Dec-10 16:30 
GeneralRe: Events in Interfaces Pin
Richard Andrew x645-Dec-10 16:34
professionalRichard Andrew x645-Dec-10 16:34 
Questionevents between two threads Pin
igalep1325-Dec-10 8:03
igalep1325-Dec-10 8:03 
AnswerRe: events between two threads Pin
Luc Pattyn5-Dec-10 8:45
sitebuilderLuc Pattyn5-Dec-10 8:45 
GeneralRe: events between two threads Pin
igalep1325-Dec-10 8:55
igalep1325-Dec-10 8:55 

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.