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 |
how to auto generate the text box using infopath?
What is Splitter?
What is the name attribute of the <service> element?
What is difference between microsoft edge and internet explorer?
How do you interact with git in visual studio?
How does xaml support/extend existing transaction monitors? : xaml
What is Security Certificate ?
How do I get the microsoft edge icon on my desktop?
i face a big prob in ms outlook 2k3 when i send a mail to others person but when go to sent itms there not show cc & To format whats prob how to trouble it?Plz reply hurry
How intra site replication works..is it through KCC or RPC over IP.
What was microsoft's original name?
How do I turn off microsoft telemetry compatibility?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)