Specifies the scope where an attached property can be applied and how it affects elements.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public enum AttachedPropertyUsage
Fields
Specifies that the attached property can be applied anywhere in the element tree.
Anywhere = 3
When set to Anywhere, the attached property has no restrictions on where it can be applied and may affect elements based on other criteria defined by the property's specific implementation.
Specifies that the attached property applies to direct child elements.
Children = 1
When set to Children, the attached property affects the direct child elements of the element where it is applied, but not deeper descendants.
Specifies that the attached property applies to all descendant elements.
Descendants = 2
When set to Descendants, the attached property affects all elements in the subtree rooted at the element where it is applied, cascading through all levels of the hierarchy.
Specifies that the attached property applies only to the element it is set on.
Self = 0
When set to Self, the attached property affects only the specific element where it is applied and does not cascade to child or descendant elements.