What is Attached property?



What is Attached property?..

Answer / anonymous

Attached properties are a programming concept introduced in
XAML whereby properties can be owned and defined by a
particular type, but set as attributes or property elements
on any element. The primary scenario that attached
properties are intended for is to enable child elements in
a markup structure to report information to a parent
element without requiring an extensively shared object
model across all elements. Conversely, attached properties
can be used by parent elements to report information to
child elements. For more information on the purpose of
attached properties and how to create your own attached
properties, see Attached Properties Overview.
Attached properties use a syntax that superficially
resembles property element syntax, in that you also specify
a typeName.propertyName combination. There are two
important differences:
· You can use the typeName.propertyName combination
even when setting an attached property through attribute
syntax. Attached properties are the only case where
qualifying the property name is a requirement in an
attribute syntax.
· You can also use property element syntax for
attached properties. However, for typical property element
syntax, the typeName you specify is the object element that
contains the property element. If you are referring to an
attached property, then the typeName is the class that
defines the attached property, not the containing object
element.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Microsoft Related AllOther Interview Questions

What is Video Conferencing ?

0 Answers  


What is Port Forwording?

0 Answers   Quexst,


What is Ethernet Address ?

0 Answers   HCL,


i need some windows short keys than run command also. if any body knows send website address.

2 Answers  


Types of DNS Servers?

0 Answers   Maersk,






How does xaml support/extend existing transaction monitors? : xaml

0 Answers  


Can a microsoft office product key be used twice?

0 Answers  


what is the microsoft accepta?

1 Answers  


can u tel me how we can use temp table in sql sserver instead of Dual in oracle?

1 Answers  


How to synchronize two ms access files? I am using one Ms access file (access 2007 accdb file) in my system. the same file i have given it to another section for data entry. every day data entry is being done in that section and i am making reports in my access file. how do i synchronize both file because i need to update data entries from that system and update my new reports to that system. Plz help me how to do that? Network is not available between these systems and things can be done via storage devices only.

0 Answers  


What are the new features in visual studio 2017?

0 Answers  


how to create assembly?

1 Answers   Nth Solution,


Categories