Thanks for the answer to my question, but what you say really isn't very
helpful. If I asked you what a car is, would you reply that it's anything
provided by an automobile manufacturer? No, I think you would reply by
describing that a car looks like, what its principal components are, and
what it's purpose is.
What I'm looking for is information about what a dependency property is,
what it consists of, and what its purpose is.
In a similar vein, I have problems with the words "attribute" and
"property." Some of what I read seems to treat these two words as synonyms.
In other places, "attribute" seems to refer to any characteristic of an
object, whereas other texts seem to use the word "property" to refer only to
physical aspects of an object, such as its color and size.
I would find it helpful to see some examples of properties that are
dependency properties and other properties that are not dependency
properties.
Thanks for your help.
In a similar vein, I'd like to understand what the words "attribute" and
"property" mean within the context of C# and WPF.
"Pavel Minaev" <(E-Mail Removed)> wrote in message
news:a222d2c2-705b-48a1-97eb-(E-Mail Removed)...
On Apr 16, 7:29 pm, "Gordon Padwick" <gpadw...@earthlink.net> wrote:
> As a newcomer to C# and WPF I'm having much difficulty understanding
> terminology. I come across such terms as "Dependency Property" and need to
> know what that term means. The help file in Visual Studio 2008 contains
> much
> information about Dependency Properties, but doesn't tell me what a
> dependency property is. Likewise, the several books about C# and WPF I
> have
> contain information about dependency properties, but don't tell me what a
> dependency property is.
>
> Can someone give me, in two or three sentences, an explanation of what a
> dependeny propery is?
Sure. A dependency property is a property implemented using
DependencyProperty class.
That's really all there is to it. There no specific theory behind it,
that's why there's no "proper" definition.
From this definition follows that dependency properties are strictly a
WPF feature, and have nothing to do with C# specifically.