blah blah blah is here! blah blah » Close

0
votes
1 answers

GetControlByName problem

Hey, I wrote a GetControlByName function and i'm trying to use it but it says the c variable has no Name Property. I don't know why. it's weird. by what i saw on other places on the net it should work. here is the function: Control GetC ...

1
votes
1 answers

WPF Property Binding And/Or and Non Bool Types

eeboy
499

Is it possible to bind to a property using logical operators? Take for instance my earlier question of binding to the IsEnabled property of a button. I was using... [code] <Button Name="btnUpdate" Content="Update" ...

1
votes
1 answers

WPF Binding Button Property

eeboy
499

I have a button. I want to bind the IsEnabled property to a boolean value. I tried something like this... [code] <Button Name="btnUpdate" Content="Update" Click="btnUpdate_Click" TabIndex="3" ...

1
votes
1 answers

Property Set: XML Deserialization vs Programatically Adding

eeboy
499

I didn't really know how to title this problem as it's pretty context sensitive... I am deserializing xml into the following class: [code] [XmlType("user")] public class User { [XmlAttribute("na ...

1
votes
2 answers

Class Properties Get/Set and private values.

Codo
84

Here's a quick and hopefully simple question for a more experienced developer. What's the difference between these two pieces of a class? Option 1 [code] private string _myVariable; public string MyVariable { get { return _myVar ...

Feedback