Class SelectListBoxItemElementBehavior
单点击当前控件时ListBoxItem项值也选中
public class SelectListBoxItemElementBehavior : Behavior<FrameworkElement>, IAnimatable, IAttachedObject
- Inheritance
-
SelectListBoxItemElementBehavior
- Implements
- Inherited Members
- Extension Methods
Methods
OnAttached()
Called after the behavior is attached to an AssociatedObject.
protected override void OnAttached()
Remarks
Override this to hook up functionality to the AssociatedObject.
OnDetaching()
Called when the behavior is being detached from its AssociatedObject, but before it has actually occurred.
protected override void OnDetaching()
Remarks
Override this to unhook functionality from the AssociatedObject.