Class ListBoxItemBehavior
Provides VisualStateManager behavior for ListBoxItem controls.
Inherited Members
Namespace: Syncfusion.Windows.Controls
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class ListBoxItemBehavior : ControlBehavior
Constructors
ListBoxItemBehavior()
Declaration
public ListBoxItemBehavior()
Properties
TargetType
This behavior targets ListBoxItem derived Controls.
Declaration
protected override Type TargetType { get; }
Property Value
Type |
---|
System.Type |
Overrides
Methods
OnAttach(Control)
Attaches to property changes and events.
Declaration
protected override void OnAttach(Control control)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.Control | control | An instance of the control. |
Overrides
OnDetach(Control)
Detaches to property changes and events.
Declaration
protected override void OnDetach(Control control)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.Control | control | An instance of the control. |
Overrides
UpdateState(Control, Boolean)
Called to update the control's visual state.
Declaration
protected override void UpdateState(Control control, bool useTransitions)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.Control | control | The instance of the control being updated. |
System.Boolean | useTransitions | Whether to use transitions or not. |