EnumAttachedPropertyUsage
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
Anywhere
Specifies that the attached property can be applied anywhere in the element tree.
Declaration
Anywhere = 3
Field Value
Remarks
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.
Children
Specifies that the attached property applies to direct child elements.
Declaration
Children = 1
Field Value
Remarks
When set to Children, the attached property affects the direct child elements of the element where it is applied, but not deeper descendants.
Descendants
Specifies that the attached property applies to all descendant elements.
Declaration
Descendants = 2
Field Value
Remarks
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.
Self
Specifies that the attached property applies only to the element it is set on.
Declaration
Self = 0
Field Value
Remarks
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.